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

Function _clear_retry

deployments/feishu/webhook-server/scripts/scheduler.py:279–280  ·  view source on GitHub ↗
(state: Dict[str, Any], job_key: str)

Source from the content-addressed store, hash-verified

277
278def _clear_retry(state: Dict[str, Any], job_key: str) -> None:
279 (state.get("retries") or {}).pop(job_key, None)
280
281
282def _schedule_retry(state: Dict[str, Any], job_key: str, marker: str, error: str, now: datetime) -> bool:
283 retries = state.setdefault("retries", {})

Callers 1

run_due_jobsFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected