MCPcopy Create free account
hub / github.com/python-arq/arq / worker_on_stop

Function worker_on_stop

arq/cli.py:66–68  ·  view source on GitHub ↗
(s: Signals)

Source from the content-addressed store, hash-verified

64 stop_event = asyncio.Event()
65
66 def worker_on_stop(s: Signals) -> None:
67 if s != Signals.SIGUSR1: # pragma: no cover
68 stop_event.set()
69
70 worker = create_worker(worker_settings)
71 try:

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…