DCD-1362: Add tcpKeepAlive and socketTimeout for Jira dbconfig.xml

This commit is contained in:
Adam Brokes
2021-10-05 13:23:23 +11:00
parent 56d1200dd6
commit 1e0c97597b
5 changed files with 14 additions and 0 deletions

View File

@@ -10,6 +10,9 @@
<username>{{ atl_jdbc_user }}</username>
<password>{{ atl_jdbc_password | replace("&", "&amp;") }}</password>
<driver-class>{{ atl_db_driver }}</driver-class>
{% if 'postgres' in atl_db_type %}
<connection-properties>tcpKeepAlive={{ atl_db_keepalive }};socketTimeout={{ atl_db_sockettimeout }}</connection-properties>
{% endif %}
<pool-min-size>{{ atl_db_poolminsize }}</pool-min-size>
<pool-max-size>{{ atl_db_poolmaxsize }}</pool-max-size>