mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-07-12 19:45:11 +00:00
add maxsize parameter to find_folder_id cache
This commit is contained in:
@@ -85,7 +85,7 @@ class MSGraphConnection(MailboxConnection):
|
||||
sleep(check_timeout)
|
||||
check_callback(self)
|
||||
|
||||
@lru_cache
|
||||
@lru_cache(maxsize=100)
|
||||
def _find_folder_id_from_folder_path(self, folder_name: str) -> str:
|
||||
path_parts = folder_name.split('/')
|
||||
parent_folder_id = None
|
||||
|
||||
Reference in New Issue
Block a user