vanth/celeryconfig.py

8 lines
221 B
Python

BROKER_URL = 'amqp://guest:guest@localhost:5672//'
CELERY_IMPORTS = ('vanth.celery_worker', 'vanth.celery')
CELERY_ACCEPT_CONTENT = ['json', 'msgpack', 'yaml']
CELERY_TASK_SERIALIZER = 'json'
CELERY_ALWAYS_EAGER = True