This commit is contained in:
Kenneth Kehl
2025-01-29 08:04:33 -08:00
parent 91585a8b9e
commit 88e623cb10
2 changed files with 2 additions and 5 deletions

View File

@@ -140,11 +140,7 @@ def send_sms_to_provider(notification):
cache_key = total_limit_cache_key(service.id)
redis_store.incr(cache_key)
current_app.logger.info(
hilite(
f"message count for service {n.service_id} now {redis_store.get(cache_key)}"
)
)
return message_id

View File

@@ -53,6 +53,7 @@ def check_service_over_total_message_limit(key_type, service):
)
)
raise TotalRequestsError(service.total_message_limit)
return int(service_stats)