use celery routers from gvacommon
This commit is contained in:
parent
17ca226dc0
commit
505b9c934b
3 changed files with 3 additions and 22 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue