MCPcopy
hub / github.com/celery/celery / warn_on_HUP_handler

Function warn_on_HUP_handler

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

Source from the content-addressed store, hash-verified

517def install_HUP_not_supported_handler(worker, sig='SIGHUP'):
518
519 def warn_on_HUP_handler(signum, frame):
520 with in_sighandler():
521 safe_say('{sig} not supported: Restarting with {sig} is '
522 'unstable on this platform!'.format(sig=sig))
523 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