From a2c3329509bed87cd2f65be97dd1502345079dd1 Mon Sep 17 00:00:00 2001 From: yamelsenih Date: Wed, 25 Sep 2024 12:29:44 -0400 Subject: [PATCH] fixed error with default maximum connections --- src/main/java/org/spin/processor/setup/SetupLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spin/processor/setup/SetupLoader.java b/src/main/java/org/spin/processor/setup/SetupLoader.java index 1c94a05..ac8843b 100644 --- a/src/main/java/org/spin/processor/setup/SetupLoader.java +++ b/src/main/java/org/spin/processor/setup/SetupLoader.java @@ -116,7 +116,7 @@ public void validateLoad() throws Exception { // Minimum connection opening 1 BackendDatabaseConfig.setMinimumIdle(dataBase.getMinimum_idle()); // 10 - BackendDatabaseConfig.setMaximumPoolSize(dataBase.getMaximum_pool_size() + 1); + BackendDatabaseConfig.setMaximumPoolSize(dataBase.getMaximum_pool_size()); // New connection waiting time 5 seconds 5000 BackendDatabaseConfig.setConnectionTimeout(dataBase.getConnection_timeout()); // Close connections after 10 minutes