Skip to content

Instantly share code, notes, and snippets.

@jbub
Created December 20, 2017 09:13
Show Gist options
  • Save jbub/312524ff6fdf0c1a4fe6203b064d0bab to your computer and use it in GitHub Desktop.
Save jbub/312524ff6fdf0c1a4fe6203b064d0bab to your computer and use it in GitHub Desktop.
BROKER_URL = env('BROKER_URL')
BROKER_HEARTBEAT = 30
BROKER_CONNECTION_TIMEOUT = 30
CELERYD_LOG_FORMAT = '[%(asctime)s:] %(message)s'
CELERYD_TASK_LOG_FORMAT = '[%(asctime)s:] %(message)s'
CELERY_DEFAULT_QUEUE = 'default'
CELERY_DEFAULT_EXCHANGE = 'default'
CELERY_DEFAULT_ROUTING_KEY = 'default'
CELERY_DEFAULT_EXCHANGE_TYPE = 'direct'
CELERY_CREATE_MISSING_QUEUES = False
CELERY_IGNORE_RESULT = True
CELERY_TIMEZONE = TIME_ZONE
CELERY_SEND_TASK_ERROR_EMAILS = True
CELERY_SEND_EVENTS = True
CELERY_SEND_TASK_SENT_EVENT = True
CELERY_EVENT_QUEUE_EXPIRES = 60
CELERY_TASK_SERIALIZER = 'json'
CELERY_ENABLE_UTC = True
CELERY_TRACK_STARTED = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment