[Project] Added DB pool keepaliveTime=10min

This commit is contained in:
Robert von Burg 2021-05-25 08:42:06 +02:00
parent 9631d80ca2
commit 514454c02b
10 changed files with 12 additions and 0 deletions

View File

@ -45,6 +45,7 @@
<db.username.cached>testuser</db.username.cached>
<db.password.cached>test</db.password.cached>
<db.pool.maximumPoolSize.cached>5</db.pool.maximumPoolSize.cached>
<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
</Properties>
</Component>
<Component>

View File

@ -46,6 +46,7 @@
<db.username.cached>testuser</db.username.cached>
<db.password.cached>test</db.password.cached>
<db.pool.maximumPoolSize.cached>5</db.pool.maximumPoolSize.cached>
<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
</Properties>
</Component>
<Component>

View File

@ -46,6 +46,7 @@
<db.username.cached>testuser</db.username.cached>
<db.password.cached>test</db.password.cached>
<db.pool.maximumPoolSize.cached>1</db.pool.maximumPoolSize.cached>
<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
</Properties>
</Component>
<Component>

View File

@ -41,6 +41,7 @@
<db.username>testuser</db.username>
<db.password>test</db.password>
<db.pool.maximumPoolSize>1</db.pool.maximumPoolSize>
<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
</Properties>
</Component>
<Component>

View File

@ -42,6 +42,7 @@
<db.username>testuser</db.username>
<db.password>test</db.password>
<db.pool.maximumPoolSize>1</db.pool.maximumPoolSize>
<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
</Properties>
</Component>
<Component>

View File

@ -40,6 +40,7 @@
<db.username>testuser</db.username>
<db.password>test</db.password>
<db.pool.maximumPoolSize>1</db.pool.maximumPoolSize>
<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
</Properties>
</Component>
<Component>

View File

@ -41,6 +41,7 @@
<db.username>testuser</db.username>
<db.password>test</db.password>
<db.pool.maximumPoolSize>1</db.pool.maximumPoolSize>
<db.pool.keepaliveTime>600000</db.pool.keepaliveTime>
</Properties>
</Component>
<Component>

View File

@ -44,11 +44,13 @@
<db.username.first>testuser1</db.username.first>
<db.password.first>test</db.password.first>
<db.pool.maximumPoolSize.first>1</db.pool.maximumPoolSize.first>
<db.pool.keepaliveTime.first>600000</db.pool.keepaliveTime.first>
<db.url.second>jdbc:postgresql://localhost/testdb2</db.url.second>
<db.username.second>testuser2</db.username.second>
<db.password.second>test</db.password.second>
<db.pool.maximumPoolSize.second>1</db.pool.maximumPoolSize.second>
<db.pool.keepaliveTime.second>600000</db.pool.keepaliveTime.second>
</Properties>
</Component>
<Component>

View File

@ -57,11 +57,13 @@
<db.username.svcCached>cacheduser</db.username.svcCached>
<db.password.svcCached>test</db.password.svcCached>
<db.pool.maximumPoolSize.svcCached>1</db.pool.maximumPoolSize.svcCached>
<db.pool.keepaliveTime.svcCached>600000</db.pool.keepaliveTime.svcCached>
<db.url.svcCachedAuditsVersioning>jdbc:postgresql://localhost/cacheduserauditsversioningdb</db.url.svcCachedAuditsVersioning>
<db.username.svcCachedAuditsVersioning>cacheduserauditsversioning</db.username.svcCachedAuditsVersioning>
<db.password.svcCachedAuditsVersioning>test</db.password.svcCachedAuditsVersioning>
<db.pool.maximumPoolSize.svcCachedAuditsVersioning>1</db.pool.maximumPoolSize.svcCachedAuditsVersioning>
<db.pool.keepaliveTime.svcCachedAuditsVersioning>600000</db.pool.keepaliveTime.svcCachedAuditsVersioning>
</Properties>
</Component>

View File

@ -137,6 +137,7 @@
&lt;db.username.cachedRealm&gt;testuser2&lt;/db.username.cachedRealm&gt;
&lt;db.password.cachedRealm&gt;test&lt;/db.password.cachedRealm&gt;
&lt;db.pool.maximumPoolSize.cachedRealm&gt;1&lt;/db.pool.maximumPoolSize.cachedRealm&gt;
&lt;db.pool.keepaliveTime.cachedRealm&gt;600000&lt;/db.pool.keepaliveTime.cachedRealm&gt;
&lt;/Properties&gt;
&lt;/Component&gt;
...