Attempt to check/wait for migrations 30x (~12 min)

- the task container needs to wait longer for migrations to complete for fresh installs before starting services
  - otherwise, services start prematurely and clutter the logs with errors because migrations are mid-flight
This commit is contained in:
Christian M. Adams 2021-06-23 09:22:32 -04:00 committed by Shane McDonald
parent b98544264b
commit 5ffffebe34
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -7,7 +7,7 @@ readonly CMDNAME=$(basename "$0")
readonly MIN_SLEEP=0.5
readonly MAX_SLEEP=30
readonly ATTEMPTS=10
readonly ATTEMPTS=30
readonly TIMEOUT=60
log_message() { echo "[${CMDNAME}]" "$@" >&2; }