From ee3d489d8b5785819f2fba57d7d0ac6c85167c83 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Tue, 26 May 2026 03:57:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=E4=BF=AE=E5=A4=8D=EF=BC=9Ahe?= =?UTF-8?q?althz=20=E9=87=8D=E8=AF=95=E4=BB=8E=2060s=20=E6=89=A9=E5=A4=A7?= =?UTF-8?q?=E5=88=B0=20150s=EF=BC=8C=E9=80=82=E9=85=8D=20pre-warm=20125s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 9e18ffbf..2ba422e4 100644 --- a/deploy.sh +++ b/deploy.sh @@ -23,13 +23,13 @@ docker compose up -d # Wait for backend to be ready (retry up to 60s) echo "Waiting for backend..." -for i in $(seq 1 12); do +for i in $(seq 1 30); do sleep 5 if curl -fsSo /dev/null --max-time 5 "https://api.polyweather.top/healthz"; then echo "✅ healthz ready after ${i}x5s" break fi - echo " retry $i/12..." + echo " retry $i/30..." done FAILED=0