mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Add extra day before raising letter still sending alert
We now want to wait an extra day before sending the alert that letters are still sending.
This commit is contained in:
@@ -361,9 +361,9 @@ def raise_alert_if_letter_notifications_still_sending():
|
||||
return
|
||||
|
||||
if today.isoweekday() == 1:
|
||||
offset_days = 3
|
||||
offset_days = 4
|
||||
else:
|
||||
offset_days = 1
|
||||
offset_days = 2
|
||||
|
||||
still_sending = Notification.query.filter(
|
||||
Notification.notification_type == LETTER_TYPE,
|
||||
|
||||
Reference in New Issue
Block a user