mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Add scheduled_tasks to celery_import config
This commit is contained in:
@@ -45,7 +45,7 @@ class Config(object):
|
||||
CELERY_TIMEZONE = 'Europe/London'
|
||||
CELERY_ACCEPT_CONTENT = ['json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
CELERY_IMPORTS = ('app.celery.tasks',)
|
||||
CELERY_IMPORTS = ('app.celery.tasks', 'app.celery.scheduled_tasks')
|
||||
CELERYBEAT_SCHEDULE = {
|
||||
'delete-verify-codes': {
|
||||
'task': 'delete-verify-codes',
|
||||
|
||||
Reference in New Issue
Block a user