diff options
author | eh552t <eh552t@intl.att.com> | 2017-09-14 11:20:19 +0200 |
---|---|---|
committer | eh552t <eh552t@intl.att.com> | 2017-09-14 11:21:26 +0200 |
commit | b7bdc481784a08d81f71055264f03b9bb3443576 (patch) | |
tree | 87668f03f98b984578c17a0987f1f914753a11fc /extra | |
parent | 53bb3d5baf4b63ce5bde7eee67e7cb2a9173121a (diff) |
Wait for database with mariadb connector
With the change from Mysql to MariaDB connector
maxReconnect parameters 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: I7d03baa69bbee46d82a403f573d9f492f9720a4c
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-ID: CLAMP-42
Diffstat (limited to 'extra')
-rw-r--r-- | extra/docker/clamp/clamp.env | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/docker/clamp/clamp.env b/extra/docker/clamp/clamp.env index e5936e359..bcbccb688 100644 --- a/extra/docker/clamp/clamp.env +++ b/extra/docker/clamp/clamp.env @@ -1 +1 @@ -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 +SPRING_APPLICATION_JSON={"spring.datasource.camunda.url":"jdbc:mariadb://db:3306/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647","spring.datasource.cldsdb.url":"jdbc:mariadb://db:3306/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647"}
\ No newline at end of file |