Merge pull request #3468 from alphagov/bump-sms-alert-threshold

Tweak SMS alert to make it worth the effort
This commit is contained in:
Ben Thorner
2022-03-01 16:10:33 +00:00
committed by GitHub

View File

@@ -553,7 +553,7 @@ def dao_find_services_sending_to_tv_numbers(start_date, end_date, threshold=500)
).all()
def dao_find_services_with_high_failure_rates(start_date, end_date, threshold=1000):
def dao_find_services_with_high_failure_rates(start_date, end_date, threshold=10000):
subquery = db.session.query(
func.count(Notification.id).label('total_count'),
Notification.service_id.label('service_id')