aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2022-12-20 13:33:36 +0100
committersonartech <sonartech@sonarsource.com>2022-12-20 20:03:02 +0000
commitf5be84704a0ff79e655242ceffcfca3256dd704a (patch)
tree2c73ed4a19623a0004f9cf34cbe43a9f3701f1a8
parent3a05b1fb8c1f9254b7bb31e926af48a177f374f4 (diff)
downloadsonarqube-f5be84704a0ff79e655242ceffcfca3256dd704a.tar.gz
sonarqube-f5be84704a0ff79e655242ceffcfca3256dd704a.zip
SONAR-17800 Reduce default `sonar.jdbc.keepaliveTime` to 3min
It helps to avoid idle connections to be killed by infrastracture configuration
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java2
1 files changed, 1 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 d575396319f..a51152d8cc9 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
@@ -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"),