后台健康检查超时从 3s 提高到 8s

aviationweather.gov 从亚洲 VPS 连接经常超过 3 秒导致误报
@
This commit is contained in:
2569718930@qq.com
2026-05-20 12:01:21 +08:00
parent 82d7c0ea6d
commit 5ef0b49299
+1 -1
View File
@@ -568,7 +568,7 @@ def get_ops_health_check(request: Request) -> dict[str, Any]:
_urllib3.disable_warnings(_urllib3.exceptions.InsecureRequestWarning)
results: dict[str, dict] = {}
timeout = 3
timeout = 8
# Supabase
supabase_url = str(os.getenv("SUPABASE_URL") or "").strip().rstrip("/")