mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 08:40:29 -04:00
Wire in the new task. Runs at 5am after the other tasks.
This commit is contained in:
@@ -147,6 +147,11 @@ class Config(object):
|
|||||||
'task': 'remove_csv_files',
|
'task': 'remove_csv_files',
|
||||||
'schedule': crontab(minute=0, hour=4),
|
'schedule': crontab(minute=0, hour=4),
|
||||||
'options': {'queue': 'periodic'}
|
'options': {'queue': 'periodic'}
|
||||||
|
},
|
||||||
|
'timeout-job-statistics': {
|
||||||
|
'task': 'timeout-job-statistics',
|
||||||
|
'schedule': crontab(minute=0, hour=5),
|
||||||
|
'options': {'queue': 'periodic'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CELERY_QUEUES = [
|
CELERY_QUEUES = [
|
||||||
@@ -198,6 +203,7 @@ class Config(object):
|
|||||||
######################
|
######################
|
||||||
|
|
||||||
class Development(Config):
|
class Development(Config):
|
||||||
|
SQLALCHEMY_ECHO = False
|
||||||
NOTIFY_EMAIL_DOMAIN = 'notify.tools'
|
NOTIFY_EMAIL_DOMAIN = 'notify.tools'
|
||||||
CSV_UPLOAD_BUCKET_NAME = 'development-notifications-csv-upload'
|
CSV_UPLOAD_BUCKET_NAME = 'development-notifications-csv-upload'
|
||||||
NOTIFY_ENVIRONMENT = 'development'
|
NOTIFY_ENVIRONMENT = 'development'
|
||||||
|
|||||||
Reference in New Issue
Block a user