mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Remove print
This commit is contained in:
@@ -12,7 +12,6 @@ def check_service_message_limit(key_type, service):
|
|||||||
if key_type != KEY_TYPE_TEST:
|
if key_type != KEY_TYPE_TEST:
|
||||||
cache_key = redis.daily_limit_cache_key(service.id)
|
cache_key = redis.daily_limit_cache_key(service.id)
|
||||||
service_stats = redis_store.get(cache_key)
|
service_stats = redis_store.get(cache_key)
|
||||||
print(service_stats)
|
|
||||||
if not service_stats:
|
if not service_stats:
|
||||||
service_stats = services_dao.fetch_todays_total_message_count(service.id)
|
service_stats = services_dao.fetch_todays_total_message_count(service.id)
|
||||||
redis_store.set(cache_key, service_stats, ex=3600)
|
redis_store.set(cache_key, service_stats, ex=3600)
|
||||||
|
|||||||
Reference in New Issue
Block a user