diff --git a/scripts/ci_staging_deploy.sh b/scripts/ci_staging_deploy.sh index 5b055c68b..70aa0955c 100755 --- a/scripts/ci_staging_deploy.sh +++ b/scripts/ci_staging_deploy.sh @@ -397,7 +397,7 @@ fi echo "Stopping old containers..." # 优雅关闭:先 stop(发 SIGTERM,等待),再 rm # Worker 需要更长时间(视频任务最长可能5分钟) -docker stop -t 300 xiaoxia-worker-staging 2>/dev/null || true +docker stop -t 120 xiaoxia-worker-staging 2>/dev/null || true docker stop -t 30 xiaoxia-api-staging 2>/dev/null || true docker stop -t 10 xiaoxia-web-staging 2>/dev/null || true docker rm xiaoxia-worker-staging xiaoxia-api-staging xiaoxia-web-staging 2>/dev/null || true