Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Monitors are currently scheduled by same ScheduledExecutorService with a pool size of 1. This means that if a monitor takes too long to return, the other monitors may not be scheduled and executed as per it's scheduled interval.
Suggested Solution: We create a new ScheduledExecutorService for each monitor. This will allow every monitor to be executed concurrently. A monitor that takes a long time to return will only affect it's own future executions and not the other monitors.