清理任务数据
(self, task_uuid: str)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected