diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-05-12 12:04:26 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-05-12 15:43:47 +0200 |
commit | 8e8f9fc1cc8b9a113778027dfe9ac59c00d332d0 (patch) | |
tree | f81eba1e162387b76b984f25563883bea7b071dc /server/sonar-process/src | |
parent | f1994051ac83659f201160049afe39ae5b26dcfb (diff) | |
download | sonarqube-8e8f9fc1cc8b9a113778027dfe9ac59c00d332d0.tar.gz sonarqube-8e8f9fc1cc8b9a113778027dfe9ac59c00d332d0.zip |
SONAR-7580 jdbc_url default value is computed or set by JdbcSettings
it used to be hardcoded to jdbc:h2:tcp://localhost:9092/sonar, which did not take into account the optionaly specified embedded database port property
Diffstat (limited to 'server/sonar-process/src')
-rw-r--r-- | server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java | 1 |
1 files changed, 0 insertions, 1 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 b721895f88f..550a7014f0d 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 @@ -119,7 +119,6 @@ public class ProcessProperties { defaults.put(ProcessProperties.WEB_JAVA_ADDITIONAL_OPTS, ""); defaults.put(ProcessProperties.CE_JAVA_OPTS, "-Xmx512m -Xms128m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true"); defaults.put(ProcessProperties.CE_JAVA_ADDITIONAL_OPTS, ""); - defaults.put(ProcessProperties.JDBC_URL, "jdbc:h2:tcp://localhost:9092/sonar"); defaults.put(ProcessProperties.JDBC_MAX_ACTIVE, "60"); defaults.put(ProcessProperties.JDBC_MAX_IDLE, "5"); defaults.put(ProcessProperties.JDBC_MIN_IDLE, "2"); |