This document describes an older version of Celery (2.1). For the latest stable version please go here.
The Multiprocessing Worker Server
Executes tasks waiting in the task queue.
Parameters: |
|
---|
The number of simultaneous processes doing work (default: conf.CELERYD_CONCURRENCY)
The loglevel used (default: logging.INFO)
The logfile used, if no logfile is specified it uses stderr (default: celery.conf.CELERYD_LOG_FILE).
If True, celerybeat is embedded, running in the main worker process as a thread.
Enable the sending of monitoring events, these events can be captured by monitors (celerymon).
The logging.Logger instance used for logging.
The multiprocessing.Pool instance used.
The Queue.Queue that holds tasks ready for immediate processing.
Instance of celery.worker.controllers.ScheduleController.
Instance of celery.worker.controllers.Mediator.
Instance of CarrotListener.
Process task by sending it to the pool of workers.
Starts the workers main loop.
Graceful shutdown of the worker server.
Not so graceful shutdown of the worker server.
Initializes the process so it can be used to process tasks.
Used for multiprocessing environments.