]> source.dussan.org Git - sonarqube.git/commitdiff
Compute Engine must start after its local web server
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 20 Oct 2017 14:26:54 +0000 (16:26 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 20 Oct 2017 15:44:46 +0000 (17:44 +0200)
server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java

index 038371ee13b2ae6a1ec826c18a103118824109a8..448c1ae20919afebb4522035caa358b55ddb6ef4 100644 (file)
@@ -138,7 +138,7 @@ public class SchedulerImpl implements Scheduler, ProcessEventListener, ProcessLi
 
   private void tryToStartCe() {
     SQProcess process = processesById.get(ProcessId.COMPUTE_ENGINE);
-    if (process != null && appState.isOperational(ProcessId.WEB_SERVER, false) && isEsClientStartable()) {
+    if (process != null && appState.isOperational(ProcessId.WEB_SERVER, true) && isEsClientStartable()) {
       tryToStartProcess(process, commandFactory::createCeCommand);
     }
   }