mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Up threshold for sms to telephone numbers
We were just ignoring the errors and our users were not fixing things. Given that 500 texts cost approx £8 it's not the end of the world. In the long run we may decide to just stop letting people try and send messages to TV numbers but this is a quick fix to stop emails coming in which we ignore.
This commit is contained in:
@@ -286,7 +286,7 @@ def check_for_services_with_high_failure_rates_or_sending_to_tv_numbers():
|
||||
)
|
||||
message += "service: {} failure rate: {},\n".format(service_dashboard, service.permanent_failure_rate)
|
||||
elif services_sending_to_tv_numbers:
|
||||
message += "{} service(s) have sent over 100 sms messages to tv numbers in last 24 hours:\n".format(
|
||||
message += "{} service(s) have sent over 500 sms messages to tv numbers in last 24 hours:\n".format(
|
||||
len(services_sending_to_tv_numbers)
|
||||
)
|
||||
for service in services_sending_to_tv_numbers:
|
||||
|
||||
Reference in New Issue
Block a user