]> source.dussan.org Git - sonarqube.git/commitdiff
Faster sonar-process monitor to detect when process is started
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 28 May 2015 12:23:09 +0000 (14:23 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 28 May 2015 12:56:31 +0000 (14:56 +0200)
server/sonar-process/src/main/java/org/sonar/process/ProcessEntryPoint.java

index 0687b94b74296b3c8694e3040196e6416227add2..49f954a16ac96eabe67599c861fbdf7f5e418d81 100644 (file)
@@ -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