caa7d8a128
After tens of thousands of messages on the IMAP server were deleted it takes offlineimap extremely long time (several hours of high CPU usage) to delete them locally. It spends almost all the time modifying LocalStatus. It processes the messages one by one, rewriting the folder's status file in LocalStatus after each message. It is much more efficient to save the status file only once, after removing all the messages from the messagelist. Deleting lots of messages now takes seconds instead of hours. This should solve Debian bug #518093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518093 Signed-off-by: Michal Schmidt <mschmidt@redhat.com> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
syncmaster.py | ||
threadutil.py | ||
version.py |