aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-28 14:23:09 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-28 14:56:31 +0200
commit9e375e7f37ec5342357a421157774aa21a470aa5 (patch)
treeb24282332eafe3845adebb5d38c2b7f8d46d81cd /server/sonar-process/src
parentc63e820d7b0b5de0a7672177367f4b7e103b108b (diff)
downloadsonarqube-9e375e7f37ec5342357a421157774aa21a470aa5.tar.gz
sonarqube-9e375e7f37ec5342357a421157774aa21a470aa5.zip
Faster sonar-process monitor to detect when process is started
Diffstat (limited to 'server/sonar-process/src')
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/ProcessEntryPoint.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/ProcessEntryPoint.java b/server/sonar-process/src/main/java/org/sonar/process/ProcessEntryPoint.java
index 0687b94b742..49f954a16ac 100644
--- a/server/sonar-process/src/main/java/org/sonar/process/ProcessEntryPoint.java
+++ b/server/sonar-process/src/main/java/org/sonar/process/ProcessEntryPoint.java
@@ -78,7 +78,7 @@ public class ProcessEntryPoint implements Stoppable {
boolean ready = false;
while (!ready) {
ready = monitored.isReady();
- Thread.sleep(200L);
+ Thread.sleep(20L);
}
// notify monitor that process is ready