MCPcopy
hub / github.com/celery/celery / self_termination_sigkill

Function self_termination_sigkill

t/smoke/tasks.py:59–61  ·  view source on GitHub ↗

Forceful termination.

()

Source from the content-addressed store, hash-verified

57
58@shared_task
59def self_termination_sigkill():
60 """Forceful termination."""
61 os.kill(os.getpid(), SIGKILL)
62
63
64@shared_task

Callers

nothing calls this directly

Calls 1

killMethod · 0.45

Tested by

no test coverage detected