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:
Katie Smith
2018-04-05 14:11:21 +01:00
parent a0c6f6a22e
commit 417d382d1b
2 changed files with 17 additions and 17 deletions

View File

@@ -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,