Skip to content

Instantly share code, notes, and snippets.

@victorono
Last active December 13, 2016 22:22
Show Gist options
  • Save victorono/aabdc087fc30fc690ade to your computer and use it in GitHub Desktop.
Save victorono/aabdc087fc30fc690ade to your computer and use it in GitHub Desktop.
Celery conf
BROKER_URL = 'amqp://user:passwd@127.0.0.1/host'
BROKER_BACKEND = 'amqp'
CELERY_ACCEPT_CONTENT = ['json', 'pickle', 'msgpack', 'yaml']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_IGNORE_RESULT = False
CELERY_RESULT_BACKEND = 'amqp'
CELERY_SEND_TASK_ERROR_EMAILS = True
CELERYBEAT_SCHEDULER = "djcelery.schedulers.DatabaseScheduler"
CELERYD_MAX_TASKS_PER_CHILD = 1
CELERYD_CONCURRENCY = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment