fix time limit in checking delivery receipts

This commit is contained in:
Kenneth Kehl
2024-12-10 12:26:46 -08:00
parent fede173a3e
commit bdb73e9db2

View File

@@ -158,7 +158,7 @@ class AwsCloudwatchClient(Client):
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",
# but we are copy/pasting here to avoid circular imports.
return "failure", "Unable to find carrier response."