auto-sync: 2026-05-21 20:46:08

This commit is contained in:
cfdaily
2026-05-21 20:46:08 +08:00
parent 1ce9d3cb8c
commit ba4ac17ffa
+1
View File
@@ -127,6 +127,7 @@ class Blackboard:
updates["completed_at"] = now
elif new_status == "paused":
updates["completed_at"] = now # paused 也记录时间用于恢复
updates["resumed_from"] = old_status # 记录暂停前状态
elif new_status == "pending" and old_status == "failed":
updates["retry_count"] = (
conn.execute("SELECT retry_count FROM tasks WHERE id=?",