add maxsize parameter to find_folder_id cache

This commit is contained in:
Nathan Thorpe
2022-04-21 14:58:30 -07:00
parent 90a53f2217
commit bd35d31573
+1 -1
View File
@@ -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