Skip to content

Commit 4c0f46f

Browse files
Issue 45345: Optimize default DB connection pool config (#304)
1 parent cd5e085 commit 4c0f46f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

webapps/labkey.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@
88
driverClassName="@@jdbcDriverClassName@@"
99
url="@@jdbcURL@@"
1010
maxTotal="20"
11-
maxIdle="10"
11+
maxIdle="3"
12+
minIdle="1"
1213
maxWaitMillis="120000"
14+
testOnBorrow="false"
15+
testWhileIdle="true"
16+
timeBetweenEvictionRunsMillis="300000"
17+
minEvictableIdleTimeMillis="300000"
1318
accessToUnderlyingConnectionAllowed="true"
14-
validationQuery="SELECT 1"
1519
/>
1620

1721
<Resource name="mail/Session" auth="Container"

0 commit comments

Comments
 (0)