use celery routers from gvacommon

This commit is contained in:
Jan Dittberner 2014-12-27 14:12:48 +01:00
parent 17ca226dc0
commit 505b9c934b
3 changed files with 3 additions and 22 deletions

View file

@ -279,8 +279,8 @@ CELERY_RESULT_BACKEND = 'amqp'
CELERY_RESULT_PERSISTENT = True
CELERY_TASK_RESULT_EXPIRES = None
CELERY_ROUTES = (
'osusers.tasks.LdapRouter',
'osusers.tasks.FileRouter',
'gvacommon.celeryrouters.LdapRouter',
'gvacommon.celeryrouters.FileRouter',
)
CELERY_ACCEPT_CONTENT = ['pickle', 'yaml', 'json']
CELERY_TASK_SERIALIZER = 'json'