fix celery task routes syntax error

This commit is contained in:
Nico Schottelius 2020-12-20 12:22:50 +01:00
parent 054886fd9c
commit 179baee96d

View file

@ -220,9 +220,7 @@ CELERY_TASK_ROUTES = (route_task,)
CELERY_BROKER_URL = 'redis://:uncloud.example.com:6379/0'
CELERY_RESULT_BACKEND = 'redis://:uncloud.example.com:6379/0'
CELERY_TASK_ROUTES = {
(re.compile(r'.*\.cdist\..*'), { 'queue': 'cdist' }
}
CELERY_TASK_ROUTES = ( [ (re.compile(r'.*\.cdist\..*'), { 'queue': 'cdist' }), ], )
# CELERY_TASK_CREATE_MISSING_QUEUES = False