Skip to content
Snippets Groups Projects
Commit 7fcd481c authored by gwen-soleil's avatar gwen-soleil
Browse files

add configuration of minimum pool size

parent 6c765a7b
Branches
No related tags found
No related merge requests found
......@@ -112,6 +112,7 @@ public class DatabaseConnectionConfig {
config.setConnectionTimeout(connectionTimeout);
config.setIdleTimeout(idleTimeout);
config.setMaximumPoolSize(maxPoolSize);
config.setMinimumIdle(minPoolSize);
config.setRegisterMbeans(true);
if (healthRegistry != null) {
config.setHealthCheckRegistry(healthRegistry);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment