diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-07-29 22:21:58 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-08-03 17:57:17 +0200 |
commit | 17f3a477fd6119172c89057acb80693af21c5ae6 (patch) | |
tree | 32ecaba4d5b431b8ce95da9b193b0f313d2e0d70 /server/sonar-process | |
parent | 0b2c0f53b5dafce8453a8a0203f595d9bba44a6f (diff) | |
download | sonarqube-17f3a477fd6119172c89057acb80693af21c5ae6.tar.gz sonarqube-17f3a477fd6119172c89057acb80693af21c5ae6.zip |
SONAR-7909 support sonar.cluster.ce.disabled
Diffstat (limited to 'server/sonar-process')
-rw-r--r-- | server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java b/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java index 49f26c79ab0..583a1254123 100644 --- a/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java +++ b/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java @@ -32,6 +32,7 @@ public class ProcessProperties { public static final String CLUSTER_MASTER_HOST = "sonar.cluster.masterHost"; public static final String CLUSTER_NAME = "sonar.cluster.name"; public static final String CLUSTER_NODE_NAME = "sonar.node.name"; + public static final String CLUSTER_CE_DISABLED = "sonar.cluster.ce.disabled"; public static final String JDBC_URL = "sonar.jdbc.url"; public static final String JDBC_DRIVER_PATH = "sonar.jdbc.driverPath"; @@ -99,6 +100,7 @@ public class ProcessProperties { Map<String, String> defaults = new HashMap<>(); defaults.put(ProcessProperties.CLUSTER_NAME, "sonarqube"); defaults.put(ProcessProperties.CLUSTER_NODE_NAME, "sonar-" + System.currentTimeMillis()); + defaults.put(ProcessProperties.CLUSTER_CE_DISABLED, "false"); defaults.put(ProcessProperties.SEARCH_HOST, "127.0.0.1"); defaults.put(ProcessProperties.SEARCH_JAVA_OPTS, "-Xmx1G -Xms256m -Xss256k -Djna.nosys=true " + |