Configuration - celery.conf¶
celery.conf
- celery.conf.AMQP_ROUTING_KEY
- celery.conf.AMQP_CONSUMER_QUEUE¶
- The name of the AMQP queue.
- 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.