aboutsummaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authoreh552t <eh552t@intl.att.com>2017-09-14 11:14:02 +0200
committereh552t <eh552t@intl.att.com>2017-09-14 11:14:12 +0200
commit53bb3d5baf4b63ce5bde7eee67e7cb2a9173121a (patch)
tree05dd933ee10d39cec00101910786c371ac76d837 /extra
parentd409b3184a7e9dc3907349e792132add5fd54323 (diff)
Wait for database with mariadb connector
With the change from Mysql to MariaDB connector maxReconnect parameter doesn't work anymore. We then need to use retriesAllDown instead but this is doing retries as fast as possible with no wait between tries so need an arbitrary high value. With maxReconnect it was waiting a time exponentially growing so a low value was enough. Change-Id: Id1429759aa4bdcfc9af1934fd6f8b848ed879e91 Signed-off-by: eh552t <eh552t@intl.att.com> Issue-ID: CLAMP-42
Diffstat (limited to 'extra')
-rw-r--r--extra/docker/clamp/clamp.env2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/docker/clamp/clamp.env b/extra/docker/clamp/clamp.env
index d9ced6f3..e5936e35 100644
--- a/extra/docker/clamp/clamp.env
+++ b/extra/docker/clamp/clamp.env
@@ -1 +1 @@
-SPRING_APPLICATION_JSON={"spring.datasource.camunda.url":"jdbc:mariadb://db:3306/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100","spring.datasource.cldsdb.url":"jdbc:mariadb://db:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100"} \ No newline at end of file
+SPRING_APPLICATION_JSON={"spring.datasource.camunda.url":"jdbc:mariadb:sequential://db:3306/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647","spring.datasource.cldsdb.url":"jdbc:mariadb:sequential://db:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647"} \ No newline at end of file