Skip to content

Commit

Permalink
Merge pull request #76 from lsst-sqre/tickets/DM-35704
Browse files Browse the repository at this point in the history
[DM-35704] Allow for maximum connections from yaml
  • Loading branch information
cbanek authored Jul 26, 2022
2 parents 6c5cfae + 4e0f68a commit 9c1506c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/META-INF/context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
minEvictableIdleTimeMillis="30000"
maxActive="100" maxIdle="10" maxWait="20000" initialSize="5"
maxActive="${tapuser.maxActive}" maxIdle="10" maxWait="20000" initialSize="5"
username="${tapuser.jdbc.username}" password="${tapuser.jdbc.password}"
driverClassName="${tapuser.jdbc.driverClassName}"
url="${tapuser.jdbc.url}"
Expand All @@ -24,7 +24,7 @@
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
minEvictableIdleTimeMillis="30000"
maxActive="100" maxIdle="1" maxWait="20000" initialSize="5"
maxActive="${qservuser.maxActive}" maxIdle="1" maxWait="20000" initialSize="5"
username="${qservuser.jdbc.username}" password="${qservuser.jdbc.password}"
driverClassName="${qservuser.jdbc.driverClassName}"
url="${qservuser.jdbc.url}"
Expand Down

0 comments on commit 9c1506c

Please sign in to comment.