mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
fix time limit in checking delivery receipts
This commit is contained in:
@@ -158,7 +158,7 @@ class AwsCloudwatchClient(Client):
|
|||||||
message["delivery"].get("phoneCarrier", "Unknown Carrier"),
|
message["delivery"].get("phoneCarrier", "Unknown Carrier"),
|
||||||
)
|
)
|
||||||
|
|
||||||
if time_now > (created_at + timedelta(hours=3)):
|
if time_now > (created_at + timedelta(hours=73)):
|
||||||
# see app/models.py Notification. This message corresponds to "permanent-failure",
|
# see app/models.py Notification. This message corresponds to "permanent-failure",
|
||||||
# but we are copy/pasting here to avoid circular imports.
|
# but we are copy/pasting here to avoid circular imports.
|
||||||
return "failure", "Unable to find carrier response."
|
return "failure", "Unable to find carrier response."
|
||||||
|
|||||||
Reference in New Issue
Block a user