From: Simon Brandhof Date: Fri, 20 Oct 2017 14:26:54 +0000 (+0200) Subject: Compute Engine must start after its local web server X-Git-Tag: 6.7-RC1~127 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f4c02670dfda686bfd7dc22d7db8313659569630;p=sonarqube.git Compute Engine must start after its local web server --- diff --git a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java index 038371ee13b..448c1ae2091 100644 --- a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java +++ b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java @@ -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); } }