增加超时时间

This commit is contained in:
starry
2025-08-11 03:01:17 +08:00
committed by GitHub
parent 88c0f8d458
commit c0ca283c70

View File

@@ -230,7 +230,7 @@ EOF
touch "$LOG_PATH" 2>/dev/null || true touch "$LOG_PATH" 2>/dev/null || true
fi fi
for i in {1..30}; do for i in {1..60}; do
if [[ -f "$LOG_PATH" ]]; then if [[ -f "$LOG_PATH" ]]; then
DOMAIN=$(grep -Eo 'https://[A-Za-z0-9-]+\.trycloudflare\.com' "$LOG_PATH" 2>/dev/null | head -n1) DOMAIN=$(grep -Eo 'https://[A-Za-z0-9-]+\.trycloudflare\.com' "$LOG_PATH" 2>/dev/null | head -n1)
if [[ -n "$DOMAIN" ]]; then if [[ -n "$DOMAIN" ]]; then