auto-sync: 2026-06-04 23:51:56

This commit is contained in:
cfdaily
2026-06-04 23:51:56 +08:00
parent 734889bfcb
commit 58f6228665
+3
View File
@@ -1498,6 +1498,9 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
db_path: Optional[Path] = None,
) -> None:
"""记录 task_attempt"""
# 广播 spawn 产生的 "broadcast" task_id 不记录 attempts,避免脏数据
if task_id == "broadcast":
return
effective_db = db_path or self.db_path
if not task_id or not effective_db:
return