From b2e863fd0f017a9b088dca5a03e7942f572d532e Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 2 Nov 2023 05:49:48 +0100 Subject: [PATCH] IDEMPIERE-5013 set HikariCP initial pool size to 10 - as it was in c3p0 (#2083) - Applying the same as we did in commit f76c39889c for PostgreSQL - For some reason c3p0 was configured with MaxPoolSize=150 for oracle (90 for PostgreSQL) - setting same default --- .../META-INF/pool/server.default.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.compiere.db.oracle.provider/META-INF/pool/server.default.properties b/org.compiere.db.oracle.provider/META-INF/pool/server.default.properties index 02fc862ed5..47323c6bb6 100644 --- a/org.compiere.db.oracle.provider/META-INF/pool/server.default.properties +++ b/org.compiere.db.oracle.provider/META-INF/pool/server.default.properties @@ -42,7 +42,7 @@ connectionTimeout=60000 # recommend not setting this value and instead allowing HikariCP to act as a # fixed size connection pool. # Default: same as maximumPoolSize -#minimumIdle= +minimumIdle=10 # This property controls the maximum size that the pool is allowed to reach, # including both idle and in-use connections. Basically this value will determine @@ -52,7 +52,7 @@ connectionTimeout=60000 # will block for up to connectionTimeout milliseconds before timing out. Please # read about pool sizing: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing # Default: 10 -maximumPoolSize=90 +maximumPoolSize=150 # This property controls the maximum lifetime of a connection in the pool. An # in-use connection will never be retired, only when it is closed will it then be