Celery v0.9.0 (unstable) documentation

This Page

Configuration - celery.conf

celery.conf.ALWAYS_EAGER
celery.conf.AMQP_CONNECTION_MAX_RETRIES
celery.conf.TASK_SERIALIZER

A string identifying the default serialization method to use. Can be pickle (default), json, yaml, or any custom serialization methods that have been registered with carrot.serialization.registry.

Default is pickle.

celery.conf.AMQP_CONNECTION_RETRY
celery.conf.AMQP_CONNECTION_MAX_RETRIES

Maximum number of retries before we give up re-establishing a connection to the AMQP broker.

If this is set to 0 or None, we will retry forever.

Default is 100 retries.

celery.conf.AMQP_CONNECTION_TIMEOUT
celery.conf.SEND_CELERY_TASK_ERROR_EMAILS
If set to True, errors in tasks will be sent to admins by e-mail. If unset, it will send the e-mails if settings.DEBUG is False.
celery.conf.AMQP_CONSUMER_QUEUE
celery.conf.AMQP_CONSUMER_QUEUES
Dictionary defining multiple AMQP queues.
celery.conf.AMQP_CONSUMER_QUEUES
celery.conf.AMQP_CONNECTION_TIMEOUT
The timeout in seconds before we give up establishing a connection to the AMQP server.
celery.conf.AMQP_CONSUMER_ROUTING_KEY
celery.conf.AMQP_CONSUMER_QUEUE
The name of the AMQP queue.
celery.conf.AMQP_EXCHANGE
celery.conf.AMQP_EXCHANGE_TYPE

The exchange type.

celery.conf.AMQP_EXCHANGE_TYPE
celery.conf.AMQP_PUBLISHER_ROUTING_KEY
The default AMQP routing key used when publishing tasks.
celery.conf.AMQP_PUBLISHER_ROUTING_KEY
celery.conf.AMQP_CONSUMER_ROUTING_KEY
The AMQP routing key used when consuming tasks.
celery.conf.CELERYBEAT_LOG_FILE
celery.conf.CELERYBEAT_SCHEDULE_FILENAME

Name of the persistent schedule database file. Default is: celerybeat-schedule.

celery.conf.CELERYBEAT_LOG_LEVEL
celery.conf.CELERYBEAT_LOG_FILE

Default log file for celerybeat. Default is: celerybeat.log.

celery.conf.CELERYBEAT_PID_FILE
celery.conf.DEFAULT_RATE_LIMIT

The default rate limit applied to all tasks which doesn’t have a custom rate limit defined. (Default: None)

celery.conf.CELERY_BACKEND
celery.conf.CELERY_CACHE_BACKEND

Use a custom cache backend for celery. If not set the django-global cache backend in CACHE_BACKEND will be used.

celery.conf.CELERY_CACHE_BACKEND
celery.conf.CELERYBEAT_PID_FILE

Name of celerybeats pid file. Default is: celerybeat.pid.

celery.conf.DAEMON_CONCURRENCY
celery.conf.AMQP_EXCHANGE
Name of the AMQP exchange.
celery.conf.DAEMON_LOG_FILE
celery.conf.DAEMON_LOG_LEVEL
celery.conf.DAEMON_LOG_LEVEL
celery.conf.DAEMON_PID_FILE
Full path to the daemon pidfile.
celery.conf.DAEMON_PID_FILE
celery.conf.DAEMON_CONCURRENCY
The number of concurrent worker processes.
celery.conf.DEFAULT_CELERYBEAT_SCHEDULE_FILENAME
celery.conf.LOG_LEVELS
Mapping of log level names to logging module constants.
celery.conf.DEFAULT_RATE_LIMIT
celery.conf.DISABLE_RATE_LIMITS

If True all rate limits will be disabled and all tasks will be executed as soon as possible.

celery.conf.DISABLE_RATE_LIMITS
celery.conf.CELERYBEAT_LOG_LEVEL

Default log level for celerybeat. Default is: INFO.

celery.conf.LOG_FORMAT
celery.conf.DAEMON_LOG_FILE
Filename of the daemon log file.
celery.conf.LOG_LEVELS
celery.conf.LOG_FORMAT
The format to use for log messages.
celery.conf.SEND_CELERY_TASK_ERROR_EMAILS
celery.conf.ALWAYS_EAGER
Always execute tasks locally, don’t send to the queue.
celery.conf.TASK_SERIALIZER
celery.conf.CELERY_BACKEND

The backend used to store task results (tombstones).