Celery Worker Daemon - celery.bin.celeryd¶
celeryd
- -c, --concurrency¶
- Number of child processes processing the queue.
- -f, --logfile¶
- Path to log file. If no logfile is specified, stderr is used.
- -l, --loglevel¶
- Logging level, choose between DEBUG, INFO, WARNING, ERROR, CRITICAL, or FATAL.
- -p, --pidfile¶
- Path to pidfile.
- -w, --wakeup-after¶
- If the queue is empty, this is the time in seconds the daemon sleeps until it wakes up to check if there’s any new messages on the queue.
- -d, --daemon¶
- Run in the background as a daemon.
- --discard¶
- Discard all waiting tasks before the daemon is started. WARNING: This is unrecoverable, and the tasks will be deleted from the messaging server.
- celery.bin.celeryd.main(concurrency=10, daemon=False, loglevel=20, logfile='celeryd.log', discard=False, pidfile='celeryd.pid', queue_wakeup_after=0.10000000000000001)¶
- Run the celery daemon.
- celery.bin.celeryd.parse_options(arguments)¶
- Option parsers for the available options to celeryd.