Configuration - celery.conf¶
celery.conf
- celery.conf.AMQP_CONSUMER_QUEUE¶
- 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 DEBUG is False.
- 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 type of exchange. If the exchange type is direct, all messages receives all tasks. However, if the exchange type is topic, you can route e.g. some tasks to one server, and others to the rest. See Exchange types and the effect of bindings.
- 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.DAEMON_CONCURRENCY¶
- celery.conf.AMQP_EXCHANGE
- Name of the AMQP exchange.
- celery.conf.DAEMON_LOG_FILE¶
- celery.conf.DAEMON_LOG_LEVEL¶
- Celery daemon log level, can be any of DEBUG, INFO, WARNING, ERROR, CRITICAL, or FATAL. See the logging module for more information.
- celery.conf.DAEMON_LOG_LEVEL
- celery.conf.QUEUE_WAKEUP_AFTER¶
- The time (in seconds) the celery worker should sleep when there’s no messages left on the queue. After the time is slept, the worker wakes up and checks the queue again.
- celery.conf.DAEMON_PID_FILE¶
- celery.conf.DAEMON_CONCURRENCY
- The number of concurrent worker processes, executing tasks simultaneously.
- celery.conf.DEFAULT_DAEMON_LOG_FILE¶
- celery.conf.LOG_LEVELS¶
- Mapping of log level names to logging module constants.
- celery.conf.EMPTY_MSG_EMIT_EVERY¶
- celery.conf.DAEMON_PID_FILE
- Full path to the daemon pidfile.
- celery.conf.LOG_FORMAT¶
- celery.conf.DAEMON_LOG_FILE
- The path to the deamon log file (if not set, stderr is used).
- celery.conf.LOG_LEVELS
- celery.conf.LOG_FORMAT
- The format to use for log messages. Default is [%(asctime)s: %(levelname)s/%(processName)s] %(message)s
- celery.conf.QUEUE_WAKEUP_AFTER
- celery.conf.EMPTY_MSG_EMIT_EVERY
- How often the celery daemon should write a log message saying there are no messages in the queue. If this is None or 0, it will never print this message.