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

Function warn_on_HUP_handler

celery/apps/worker.py:575–578  ·  view source on GitHub ↗
(signum, frame)

Source from the content-addressed store, hash-verified

573def install_HUP_not_supported_handler(worker, sig='SIGHUP'):
574
575 def warn_on_HUP_handler(signum, frame):
576 with in_sighandler():
577 safe_say('{sig} not supported: Restarting with {sig} is '
578 'unstable on this platform!'.format(sig=sig))
579 platforms.signals[sig] = warn_on_HUP_handler

Callers

nothing calls this directly

Calls 3

in_sighandlerFunction · 0.90
safe_sayFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected