summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorHarald Musum <musum@yahoo-inc.com>2016-10-03 13:31:33 +0200
committerHarald Musum <musum@yahoo-inc.com>2016-10-03 13:31:33 +0200
commit3ecc816934b88735766e6484a0d5cda5a1cb937e (patch)
tree86006f40460bbecebb0f11739c83afaafde4a99f /container-search
parentee02bf808aaf242a665aa32412f56affbbfd43b9 (diff)
Update comment
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/cluster/ClusterMonitor.java5
1 files changed, 3 insertions, 2 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 5309d33f27d..ff77680172d 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
@@ -20,8 +20,9 @@ import com.yahoo.search.result.ErrorMessage;
* @author Steinar Knutsen
*/
public class ClusterMonitor implements Runnable, Freezable {
- // We need to wait a bit with starting thread because OSGi may not have
- // loaded all needed classes until some time has elapsed
+ // The ping thread wil start using the system, but we cannot be guaranteed that all components
+ // in the system is up. As a workaround for not being able to find out when the system
+ // is ready to be used, we wait some time before starting the ping thread
private static final int pingThreadInitialDelayMs = 3000;
private final MonitorConfiguration configuration;