From 7b8028d03f4fea7b814073d1b98b2527078ad607 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Tue, 13 Aug 2019 15:19:28 +0100 Subject: [PATCH] fix typo in config was a `,`, not a `:`, so 'options' was a set rather than a dictionary. --- app/config.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/config.py b/app/config.py index d167c7e49..46b8c48c0 100644 --- a/app/config.py +++ b/app/config.py @@ -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 = []