From 1f93b3a7ea1ec8daaf8ab77e9293021da45c9b92 Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Wed, 25 Dec 2024 16:26:38 -0500 Subject: [PATCH] Set max_len to a value --- parsedmarc/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index cb1dcd7..9a032f5 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -56,7 +56,7 @@ handler = logging.StreamHandler() handler.setFormatter(formatter) logger.addHandler(handler) -SEEN_AGGREGATE_REPORT_IDS = ExpiringDict(max_len=None, max_age_seconds=3600) +SEEN_AGGREGATE_REPORT_IDS = ExpiringDict(max_len=100000000, max_age_seconds=3600) def _str_to_list(s):