Skip to content

Commit

Permalink
Merge pull request #33 from NASA-AMMOS/db-tuning
Browse files Browse the repository at this point in the history
Tune db connection pool to more diligently reap idle and abandoned connections
  • Loading branch information
ztaylor54 authored Mar 16, 2021
2 parents 315fde0 + 72536f5 commit 1b467fc
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 1b467fc

Please sign in to comment.