diff --git a/src/main/java/org/spin/report_engine/setup/SetupLoader.java b/src/main/java/org/spin/report_engine/setup/SetupLoader.java index 0750324..6b2cfc1 100644 --- a/src/main/java/org/spin/report_engine/setup/SetupLoader.java +++ b/src/main/java/org/spin/report_engine/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