mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 16:01:15 -05:00
Merge pull request #3234 from alphagov/increase-sms-fail-thresh
Increase warning threshold for SMS failures
This commit is contained in:
@@ -563,7 +563,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=100):
|
||||
def dao_find_services_with_high_failure_rates(start_date, end_date, threshold=1000):
|
||||
subquery = db.session.query(
|
||||
func.count(Notification.id).label('total_count'),
|
||||
Notification.service_id.label('service_id')
|
||||
|
||||
Reference in New Issue
Block a user