MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / cleanup_task

Method cleanup_task

src/web/task_manager.py:227–232  ·  view source on GitHub ↗

清理任务数据

(self, task_uuid: str)

Source from the content-addressed store, hash-verified

225 return _task_status.get(task_uuid)
226
227 def cleanup_task(self, task_uuid: str):
228 """清理任务数据"""
229 # 保留日志队列一段时间,以便后续查询
230 # 只清理取消标志
231 if task_uuid in _task_cancelled:
232 del _task_cancelled[task_uuid]
233
234 # ============== 批量任务管理 ==============
235

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected