Last active
December 13, 2016 22:22
-
-
Save victorono/aabdc087fc30fc690ade to your computer and use it in GitHub Desktop.
Celery conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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