mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-26 21:09:59 -05:00
Change timeout-notifications to run every hour
There's no logical constraint that prevents this: - ft_billing is unaffected by the status updates - ft_notification_status will still be computed using the updated statuses for the past day. Running the task more frequently should limit the maximum number of notifications it's likely to process.
This commit is contained in:
@@ -251,7 +251,7 @@ class Config(object):
|
||||
# app/celery/nightly_tasks.py
|
||||
'timeout-sending-notifications': {
|
||||
'task': 'timeout-sending-notifications',
|
||||
'schedule': crontab(hour=0, minute=5),
|
||||
'schedule': crontab(minute=5),
|
||||
'options': {'queue': QueueNames.PERIODIC}
|
||||
},
|
||||
'create-nightly-billing': {
|
||||
|
||||
Reference in New Issue
Block a user