From 085c090897bebcbe0650a718218425ee3d820edc Mon Sep 17 00:00:00 2001 From: vjrj Date: Thu, 14 May 2020 10:51:20 +0200 Subject: [PATCH] Added reconnection params to doi db url --- ansible/roles/doi-service/templates/doi-service-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/doi-service/templates/doi-service-config.yml b/ansible/roles/doi-service/templates/doi-service-config.yml index e11c9f561..7e545a9ed 100644 --- a/ansible/roles/doi-service/templates/doi-service-config.yml +++ b/ansible/roles/doi-service/templates/doi-service-config.yml @@ -82,7 +82,7 @@ file: googleAnalyticsId: UA-4355440-1 dataSource: - url: jdbc:postgresql://{{ doi_db_hostname }}/{{ doi_db_name }} + url: jdbc:postgresql://{{ doi_db_hostname }}/{{ doi_db_name }}?autoReconnect=true&connectTimeout=0&useUnicode=true&characterEncoding=UTF-8 username: {{ doi_db_user }} password: {{ doi_db_password }}