fix typo in config

was a `,`, not a `:`, so 'options' was a set rather than a dictionary.
This commit is contained in:
Leo Hemsted
2019-08-13 15:19:28 +01:00
parent 515d6602c1
commit 7b8028d03f

View File

@@ -267,7 +267,12 @@ class Config(object):
'check-templated-letter-state': {
'task': 'check-templated-letter-state',
'schedule': crontab(day_of_week='mon-fri', hour=9, minute=0),
'options': {'queue', QueueNames.PERIODIC}
'options': {'queue': QueueNames.PERIODIC}
},
'check-precompiled-letter-state': {
'task': 'check-precompiled-letter-state',
'schedule': crontab(day_of_week='mon-fri', hour='9,15', minute=0),
'options': {'queue': QueueNames.PERIODIC}
},
'raise-alert-if-letter-notifications-still-sending': {
'task': 'raise-alert-if-letter-notifications-still-sending',
@@ -286,11 +291,6 @@ class Config(object):
'schedule': crontab(hour=23, minute=00),
'options': {'queue': QueueNames.PERIODIC}
},
'check-precompiled-letter-state': {
'task': 'check-precompiled-letter-state',
'schedule': crontab(day_of_week='mon-fri', hour='9,15', minute=0),
'options': {'queue', QueueNames.PERIODIC}
},
}
CELERY_QUEUES = []