mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 15:19:49 -04:00
change message limit
This commit is contained in:
@@ -340,7 +340,7 @@ class Config(object):
|
|||||||
|
|
||||||
FREE_SMS_TIER_FRAGMENT_COUNT = 250000
|
FREE_SMS_TIER_FRAGMENT_COUNT = 250000
|
||||||
|
|
||||||
TOTAL_MESSAGE_LIMIT = 100000
|
TOTAL_MESSAGE_LIMIT = 5000000
|
||||||
|
|
||||||
DAILY_MESSAGE_LIMIT = notifications_utils.DAILY_MESSAGE_LIMIT
|
DAILY_MESSAGE_LIMIT = notifications_utils.DAILY_MESSAGE_LIMIT
|
||||||
|
|
||||||
|
|||||||
@@ -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):
|
def dao_get_notification_count_for_service_message_ratio(service_id, current_year):
|
||||||
start_date = datetime(current_year, 1, 1)
|
start_date = datetime(current_year, 6, 16)
|
||||||
end_date = datetime(current_year + 1, 1, 1)
|
end_date = datetime(current_year + 1, 6, 16)
|
||||||
stmt1 = (
|
stmt1 = (
|
||||||
select(func.count())
|
select(func.count())
|
||||||
.select_from(Notification)
|
.select_from(Notification)
|
||||||
|
|||||||
Reference in New Issue
Block a user