MCPcopy Create free account
hub / github.com/C3ting/ARL / github_task_monitor

Function github_task_monitor

app/tasks/github.py:311–320  ·  view source on GitHub ↗
(task_id, keyword, scheduler_id)

Source from the content-addressed store, hash-verified

309
310# Github 监控任务
311def github_task_monitor(task_id, keyword, scheduler_id):
312 task = GithubTaskMonitor(task_id=task_id,
313 keyword=keyword, scheduler_id=scheduler_id)
314 try:
315 task.run()
316 except Exception as e:
317 logger.exception(e)
318
319 task.update_status(TaskStatus.ERROR)
320 task.set_end_time()

Callers

nothing calls this directly

Calls 4

runMethod · 0.95
GithubTaskMonitorClass · 0.85
update_statusMethod · 0.45
set_end_timeMethod · 0.45

Tested by

no test coverage detected