收窄熔断判断范围,修改熔断逻辑 (#2145)

This commit is contained in:
Copaan
2026-06-28 22:12:07 +08:00
committed by GitHub
parent f4d2342693
commit bdc1374848
6 changed files with 59 additions and 14 deletions
+4
View File
@@ -57,3 +57,7 @@ def db_unhealthy_reason() -> str:
def should_pause_tasks() -> bool:
return is_overloaded() or is_db_unhealthy()
def should_pause_db_tasks() -> bool:
return is_db_unhealthy()