MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / get_daily_push_task

Function get_daily_push_task

deployments/desktop/shared/agents.py:2262–2267  ·  view source on GitHub ↗
(task_id: str = "", user_id: str = "")

Source from the content-addressed store, hash-verified

2260
2261def _finish_daily_task(task_id: str) -> None:
2262 with _DAILY_TASK_LOCK:
2263 task = _DAILY_TASKS.get(task_id)
2264 if not task:
2265 return
2266 task["status"] = "running"
2267 task["started_at"] = _task_timestamp()
2268 task["updated_at"] = task["started_at"]
2269 user_id = str(task["user_id"])
2270 days = int(task.get("days") or 1)

Callers

nothing calls this directly

Calls 2

_daily_task_payloadFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected