]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-17800 Reduce default `sonar.jdbc.keepaliveTime` to 3min
authorJacek <jacek.poreda@sonarsource.com>
Tue, 20 Dec 2022 12:33:36 +0000 (13:33 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 20 Dec 2022 20:03:02 +0000 (20:03 +0000)
It helps to avoid idle connections to be killed by infrastracture configuration

server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java

index d575396319f0dc9e809a3c666e8e4e401434abe7..a51152d8cc95e49d6de06f265b5291abb23bd37f 100644 (file)
@@ -58,7 +58,7 @@ public class ProcessProperties {
     JDBC_MIN_IDLE("sonar.jdbc.minIdle", "10"),
     JDBC_MAX_WAIT("sonar.jdbc.maxWait", "8000"),
     JDBC_MAX_IDLE_TIMEOUT("sonar.jdbc.idleTimeout", "600000"),
-    JDBC_MAX_KEEP_ALIVE_TIME("sonar.jdbc.keepaliveTime", "300000"),
+    JDBC_MAX_KEEP_ALIVE_TIME("sonar.jdbc.keepaliveTime", "180000"),
     JDBC_MAX_LIFETIME("sonar.jdbc.maxLifetime", "1800000"),
     JDBC_VALIDATION_TIMEOUT("sonar.jdbc.validationTimeout", "5000"),