mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 15:02:07 -03:30
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:
parent
b98544264b
commit
5ffffebe34
@ -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; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user