Configuration - celery.conf¶
celery.conf
- 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 DEBUG is False.
- celery.conf.AMQP_CONSUMER_QUEUE¶
- 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 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.DAEMON_PID_FILE¶
- Full path to the daemon pidfile.
- celery.conf.DAEMON_PID_FILE
- celery.conf.DAEMON_CONCURRENCY
- The number of concurrent worker processes, executing tasks simultaneously.
- celery.conf.DEFAULT_STATISTICS_COLLECT_INTERVAL¶
- celery.conf.LOG_LEVELS¶
- Mapping of log level names to logging module constants.
- 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.SEND_CELERY_TASK_ERROR_EMAILS