Unverified Commit 771f7c16 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix retries for mariadb


Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 375bfd75
Pipeline #17928 passed with stages
in 2 minutes and 2 seconds
......@@ -74,7 +74,7 @@ def _connect_to_mariadb(retries=0):
logging.error(status)
if retries < int(os.environ['MARIADB_CONNECTION_RETRIES']):
time.sleep(30 * (retries + 1))
_connect_to_kafka(retries + 1)
_connect_to_mariadb(retries + 1)
exit(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment