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

Function reject_without_requeue

t/integration/tasks.py:658–660  ·  view source on GitHub ↗

Reject permanently so the worker records a terminal FAILURE.

()

Source from the content-addressed store, hash-verified

656
657@shared_task
658def reject_without_requeue():
659 """Reject permanently so the worker records a terminal FAILURE."""
660 raise Reject('rejected', requeue=False)
661
662
663@shared_task(soft_time_limit=2, time_limit=1)

Callers

nothing calls this directly

Calls 1

RejectClass · 0.90

Tested by

no test coverage detected