Commit db4906b8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

allow for dynamic allocation in pool size (for some reason pool size equal to...

allow for dynamic allocation in pool size (for some reason pool size equal to 40 created 80 connections)
parent c2847610
......@@ -35,6 +35,7 @@ public class SpringPersistConfig {
dataSource.setPassword(config.getDbPassword());
dataSource.setIdleTimeout(30000);
dataSource.setMaximumPoolSize(40);
dataSource.setMinimumIdle(10);
dataSource.setConnectionTestQuery("select 1");
return dataSource;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment