From 5ffffebe34633ea377123530d44a8cb8fea891b4 Mon Sep 17 00:00:00 2001 From: "Christian M. Adams" Date: Wed, 23 Jun 2021 09:22:32 -0400 Subject: [PATCH] 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 --- tools/ansible/roles/dockerfile/files/wait-for-migrations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ansible/roles/dockerfile/files/wait-for-migrations b/tools/ansible/roles/dockerfile/files/wait-for-migrations index 3c92f2630c..aec55fbf46 100755 --- a/tools/ansible/roles/dockerfile/files/wait-for-migrations +++ b/tools/ansible/roles/dockerfile/files/wait-for-migrations @@ -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; }