Commit 0c40a0b9 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

pool connection increased to 40, so long lasting transaction will not block other connections

parent a7bf3db9
......@@ -34,7 +34,7 @@ public class SpringPersistConfig {
dataSource.setUsername(config.getDbUsername());
dataSource.setPassword(config.getDbPassword());
dataSource.setIdleTimeout(30000);
dataSource.setMaximumPoolSize(10);
dataSource.setMaximumPoolSize(40);
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