Reducing max connections for the DBPool to 3.

This commit is contained in:
Jonathan Williams 2015-10-10 23:02:08 -06:00
parent 998d5f6984
commit 5866e0cce6

View File

@ -22,8 +22,8 @@ public final class DBPool
source.setUrl(url);
source.setUsername(username);
source.setPassword(password);
source.setMaxTotal(4);
source.setMaxIdle(4);
source.setMaxTotal(3);
source.setMaxIdle(3);
source.setTimeBetweenEvictionRunsMillis(180 * 1000);
source.setSoftMinEvictableIdleTimeMillis(180 * 1000);