From 88db25019f6aa9d2866bf48be5b153954166a3fe Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Tue, 3 Feb 2026 20:56:27 -0600 Subject: [PATCH] chore: update prod check loops --- .gitea/workflows/production.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/production.yaml b/.gitea/workflows/production.yaml index 5631a98..b4821bf 100644 --- a/.gitea/workflows/production.yaml +++ b/.gitea/workflows/production.yaml @@ -308,7 +308,7 @@ jobs: docker logs mvp-backend-$TARGET_STACK --tail 100 exit 1 fi - echo "Attempt $i/24: Backend not ready, waiting 10s..." + echo "Attempt $i/24: Backend not ready, waiting 5s..." sleep 5 done @@ -316,10 +316,10 @@ jobs: run: | REQUIRED_FEATURES='["admin","auth","onboarding","vehicles","documents","fuel-logs","stations","maintenance","platform","notifications","user-profile","user-preferences","user-export"]' - for i in 1 2 3 4 5 6; do + for i in $(seq 1 24); do RESPONSE=$(curl -sf https://motovaultpro.com/api/health 2>/dev/null) || { - echo "Attempt $i/6: Connection failed, waiting 10s..." - sleep 10 + echo "Attempt $i/6: Connection failed, waiting 5s..." + sleep 5 continue }