This document describes an older version of Celery (2.1). For the latest stable version please go here.

Module Index

Worker

celery.worker

This is the worker’s main process. It starts and stops all the components required by the worker: Pool, Mediator, Scheduler, ClockService, and Listener.

This is the function used to initialize pool processes. It sets up loggers and imports required task modules, etc.

celery.worker.job

A request to execute a task. Contains the task name, id, args and kwargs. Handles acknowledgement, execution, writing results to backends and error handling (including error e-mails)

celery.worker.control

  • celery.worker.registry
  • celery.worker.builtins

Previous topic

List of Worker Events

Next topic

Internal Module Reference

This Page