mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
Add task to run every minute that will switch provider on slow delivery notifications
This commit is contained in:
@@ -131,6 +131,11 @@ class Config(object):
|
||||
'schedule': crontab(minute=30, hour=0), # 00:30
|
||||
'options': {'queue': 'periodic'}
|
||||
},
|
||||
'switch-current-sms-provider-on-slow-delivery': {
|
||||
'task': 'switch-current-sms-provider-on-slow-delivery',
|
||||
'schedule': crontab(), # Every minute
|
||||
'options': {'queue': 'periodic'}
|
||||
},
|
||||
'timeout-sending-notifications': {
|
||||
'task': 'timeout-sending-notifications',
|
||||
'schedule': crontab(minute=0, hour='0,1,2'),
|
||||
|
||||
Reference in New Issue
Block a user