From f5be84704a0ff79e655242ceffcfca3256dd704a Mon Sep 17 00:00:00 2001 From: Jacek Date: Tue, 20 Dec 2022 13:33:36 +0100 Subject: [PATCH] SONAR-17800 Reduce default `sonar.jdbc.keepaliveTime` to 3min It helps to avoid idle connections to be killed by infrastracture configuration --- .../src/main/java/org/sonar/process/ProcessProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.39.5