auto-sync: 2026-05-18 12:07:58

This commit is contained in:
cfdaily
2026-05-18 12:07:58 +08:00
parent a5a5191654
commit 17cb0c2a13
+4 -4
View File
@@ -258,14 +258,14 @@ class Queries:
if status_counts.get("pending", 0) > 0:
return "pending"
# 有 failed → failed(优先于 blocked:失败比等待更严重)
if status_counts.get("failed", 0) > 0:
return "failed"
# 有 blocked → blocked
if status_counts.get("blocked", 0) > 0:
return "blocked"
# 有 failed → failed
if status_counts.get("failed", 0) > 0:
return "failed"
return parent_row["status"]
finally:
conn.close()