This document describes the current stable version of Celery (5.2). For development docs, go here.

celery.worker.pidbox

Worker Pidbox (remote control).

class celery.worker.pidbox.Pidbox(c)[source]

Worker mailbox.

consumer = None
on_message(body, message)[source]
on_stop()[source]
reset()[source]
shutdown(c)[source]
start(c)[source]
stop(c)[source]
class celery.worker.pidbox.gPidbox(c)[source]

Worker pidbox (greenlet).

loop(c)[source]
on_stop()[source]
reset()[source]
start(c)[source]