diff options
author | Harald Musum <musum@yahoo-inc.com> | 2016-09-29 09:24:48 +0200 |
---|---|---|
committer | Harald Musum <musum@yahoo-inc.com> | 2016-09-29 09:24:48 +0200 |
commit | a8b067d9f4feb969a165f7d28a22081a49886f8b (patch) | |
tree | 56242c7ad940e15cbd7318be6b1eb4c61d127bb3 /container-search | |
parent | aba7f03e8aa506b57ec5cb9253d937d605eeb25f (diff) |
Start ping thread immediately
Diffstat (limited to 'container-search')
-rw-r--r-- | container-search/src/main/java/com/yahoo/prelude/cluster/ClusterMonitor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterMonitor.java b/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterMonitor.java index adbae459e5d..2ed43212647 100644 --- a/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterMonitor.java +++ b/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterMonitor.java @@ -53,7 +53,7 @@ public class ClusterMonitor implements Runnable, Freezable { "Do not start the monitoring thread before the set of" +" nodes to monitor is complete/the ClusterMonitor is frozen."); } - future = nodeManager.getScheduledExecutor().scheduleAtFixedRate(this, 30 * 1000, configuration.getCheckInterval(), TimeUnit.MILLISECONDS); + future = nodeManager.getScheduledExecutor().scheduleAtFixedRate(this, 0, configuration.getCheckInterval(), TimeUnit.MILLISECONDS); } /** |