From 72536f5493bf30c8740026647142a9e1c4d919c3 Mon Sep 17 00:00:00 2001 From: ztaylor54 Date: Sun, 14 Mar 2021 15:27:56 -0700 Subject: [PATCH] Tune db connection pool to more diligently reap idle and abandoned connections. --- install/tomcat_conf/server.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/tomcat_conf/server.xml b/install/tomcat_conf/server.xml index cc1b31d3..360d429e 100644 --- a/install/tomcat_conf/server.xml +++ b/install/tomcat_conf/server.xml @@ -73,6 +73,11 @@ validationQuery="SELECT 1" validationInterval="30000" logValidationErrors="true" + + timeBetweenEvictionRunsMillis="30000" + minEvictableIdleTimeMillis="60000" + removeAbandoned="true" + removeAbandonedTimeout="120" testOnBorrow="true" testWhileIdle="true"