Consolidate SEEN_AGGREGATE_REPORT_IDS

This commit is contained in:
Sean Whalen
2025-01-07 12:56:30 -05:00
parent e78e7f64af
commit 1efbc87e0e
+1 -2
View File
@@ -47,6 +47,7 @@ from parsedmarc.mail.graph import AuthMethod
from parsedmarc.log import logger
from parsedmarc.utils import is_mbox, get_reverse_dns
from parsedmarc import SEEN_AGGREGATE_REPORT_IDS
formatter = logging.Formatter(
fmt="%(levelname)8s:%(filename)s:%(lineno)d:%(message)s",
@@ -56,8 +57,6 @@ handler = logging.StreamHandler()
handler.setFormatter(formatter)
logger.addHandler(handler)
SEEN_AGGREGATE_REPORT_IDS = ExpiringDict(max_len=100000000, max_age_seconds=3600)
def _str_to_list(s):
"""Converts a comma separated string to a list"""