MCPcopy
hub / github.com/celery/celery / set_in_sighandler

Function set_in_sighandler

celery/utils/log.py:39–42  ·  view source on GitHub ↗

Set flag signifying that we're inside a signal handler.

(value)

Source from the content-addressed store, hash-verified

37
38
39def set_in_sighandler(value):
40 """Set flag signifying that we're inside a signal handler."""
41 global _in_sighandler
42 _in_sighandler = value
43
44
45def iter_open_logger_fds():

Callers 2

in_sighandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected