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

Function _acquire_job

deployments/feishu/webhook-server/scripts/scheduler.py:408–413  ·  view source on GitHub ↗
(job_key: str)

Source from the content-addressed store, hash-verified

406
407def _acquire_job(job_key: str) -> bool:
408 with _INFLIGHT_LOCK:
409 if job_key in _INFLIGHT_JOBS:
410 return False
411 _INFLIGHT_JOBS.add(job_key)
412 return True
413
414
415def _release_job(job_key: str) -> None:
416 with _INFLIGHT_LOCK:

Callers 1

run_due_jobsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected