From 5f0c72df1d5100b968f4195f13323674650269d3 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 6 Jun 2025 09:18:07 -0700 Subject: [PATCH] change message limit --- app/config.py | 2 +- app/dao/notifications_dao.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config.py b/app/config.py index aef3ab111..8a9d817bf 100644 --- a/app/config.py +++ b/app/config.py @@ -340,7 +340,7 @@ class Config(object): FREE_SMS_TIER_FRAGMENT_COUNT = 250000 - TOTAL_MESSAGE_LIMIT = 100000 + TOTAL_MESSAGE_LIMIT = 5000000 DAILY_MESSAGE_LIMIT = notifications_utils.DAILY_MESSAGE_LIMIT diff --git a/app/dao/notifications_dao.py b/app/dao/notifications_dao.py index 77ce75224..9a4f219a8 100644 --- a/app/dao/notifications_dao.py +++ b/app/dao/notifications_dao.py @@ -305,8 +305,8 @@ def dao_get_notification_count_for_service(*, service_id): def dao_get_notification_count_for_service_message_ratio(service_id, current_year): - start_date = datetime(current_year, 1, 1) - end_date = datetime(current_year + 1, 1, 1) + start_date = datetime(current_year, 6, 16) + end_date = datetime(current_year + 1, 6, 16) stmt1 = ( select(func.count()) .select_from(Notification)