This document describes an older version of Celery (2.5). For the latest stable version please go here.
WorkController can be used to instantiate in-process workers.
The worker consists of several components, all managed by boot-steps (mod:celery.abstract).
copyright: |
|
---|---|
license: | BSD, see LICENSE for more details. |
Component used to embed a celerybeat process.
This will only be enabled if the embed_clockservice argument is set.
This is the boot-step namespace of the WorkController.
It loads modules from CELERYD_BOOT_STEPS, and its own set of built-in boot-step modules.
The pool component.
Describes how to initialize the worker pool, and starts and stops the pool during worker startup/shutdown.
Adds attributes:
- autoscale
- pool
- max_concurrency
- min_concurrency
This component initializes the internal queues used by the worker.
This component sets up the workers state db if enabled.
This component initializes the internal timers used by the worker.
Unmanaged worker instance.
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.