Skip to content

Commit 1b467fc

Browse files
authored
Merge pull request #33 from NASA-AMMOS/db-tuning
Tune db connection pool to more diligently reap idle and abandoned connections
2 parents 315fde0 + 72536f5 commit 1b467fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/tomcat_conf/server.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373
validationQuery="SELECT 1"
7474
validationInterval="30000"
7575
logValidationErrors="true"
76+
77+
timeBetweenEvictionRunsMillis="30000"
78+
minEvictableIdleTimeMillis="60000"
79+
removeAbandoned="true"
80+
removeAbandonedTimeout="120"
7681

7782
testOnBorrow="true"
7883
testWhileIdle="true"

0 commit comments

Comments
 (0)