Displaying differences for changeset |
@@ -95,7 +95,7 @@ |
p.setValidationInterval(30000); |
p.setTimeBetweenEvictionRunsMillis(30000); |
p.setMaxWait(10000); |
- p.setRemoveAbandonedTimeout(10); |
+ p.setRemoveAbandonedTimeout(30); //Experimentally find an optimal value for this... |
p.setRemoveAbandoned(true); |
p.setJdbcInterceptors("org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;" |
+ "org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer;" |