docker-offlineimap/offlineimap/folder
Michal Schmidt caa7d8a128 much faster deleting of messages from LocalStatus
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>
2010-03-31 21:32:51 -05:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Patch for error handling / separation of accounts etc. 2009-08-28 00:01:10 -05:00
Gmail.py [imaplib2 removal] Revert "Implementation of IMAP IDLE" 2009-08-12 14:49:58 -05:00
IMAP.py Merge branch 'maxage' 2009-08-16 09:29:00 -05:00
LocalStatus.py much faster deleting of messages from LocalStatus 2010-03-31 21:32:51 -05:00
Maildir.py Patch for maxage and maxsize options 2009-08-16 09:27:49 -05:00
UIDMaps.py Sync INTERNALDATE <-> mtime 2006-08-22 02:09:36 +01:00