Skip to content

Commit

Permalink
Tune db connection pool to more diligently reap idle and abandoned co…
Browse files Browse the repository at this point in the history
…nnections.
  • Loading branch information
ztaylor54 committed Mar 14, 2021
1 parent 315fde0 commit 72536f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install/tomcat_conf/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
validationQuery="SELECT 1"
validationInterval="30000"
logValidationErrors="true"

timeBetweenEvictionRunsMillis="30000"
minEvictableIdleTimeMillis="60000"
removeAbandoned="true"
removeAbandonedTimeout="120"

testOnBorrow="true"
testWhileIdle="true"
Expand Down

0 comments on commit 72536f5

Please sign in to comment.