mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-15 00:15:26 +00:00
Merge pull request #306 from nathanthorpe/python_3_6_fix
Python 3.6 fix: 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