Drop caches after having processed folders.
This enhances a lot memory consumption when you have many folders to process. Signed-off-by: Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
This commit is contained in:

committed by
Nicolas Sebrecht

parent
63e499c6f2
commit
29e9b7ab39
@ -161,6 +161,8 @@ class LocalStatusFolder(BaseFolder):
|
||||
self.readstatus(file)
|
||||
file.close()
|
||||
|
||||
def dropmessagelistcache(self):
|
||||
self.messagelist = None
|
||||
|
||||
def save(self):
|
||||
"""Save changed data to disk. For this backend it is the same as saveall."""
|
||||
|
Reference in New Issue
Block a user