From 399fd88c9ad80ff47ac13d477f5e1717c8a830c1 Mon Sep 17 00:00:00 2001 From: Jacek Date: Tue, 13 Dec 2022 09:26:22 +0100 Subject: SONAR-17762 Allow customization of HikariCP configuration --- .../src/main/java/org/sonar/process/ProcessProperties.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/sonar-process') 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 bf712591eae..d575396319f 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 @@ -57,6 +57,11 @@ public class ProcessProperties { JDBC_MAX_ACTIVE("sonar.jdbc.maxActive", "60"), 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_LIFETIME("sonar.jdbc.maxLifetime", "1800000"), + JDBC_VALIDATION_TIMEOUT("sonar.jdbc.validationTimeout", "5000"), + JDBC_EMBEDDED_PORT("sonar.embeddedDatabase.port"), PATH_DATA("sonar.path.data", "data"), -- cgit v1.2.3