MCPcopy Create free account
hub / github.com/celery/celery / _on_blocking

Function _on_blocking

celery/utils/debug.py:34–38  ·  view source on GitHub ↗
(signum, frame)

Source from the content-addressed store, hash-verified

32
33
34def _on_blocking(signum, frame):
35 import inspect
36 raise RuntimeError(
37 f'Blocking detection timed-out at: {inspect.getframeinfo(frame)}'
38 )
39
40
41@contextmanager

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected