docker-offlineimap/offlineimap
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
..
folder much faster deleting of messages from LocalStatus 2010-03-31 21:32:51 -05:00
repository Patch for error handling / separation of accounts etc. 2009-08-28 00:01:10 -05:00
ui Patch for signal handling to start a sync by Jim Pryor 2008-12-01 16:13:16 -06:00
__init__.py Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
accounts.py Patch for error handling / separation of accounts etc. 2009-08-28 00:01:10 -05:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
imaplibutil.py Fix ssl socket wrap deprecation warning. 2009-08-24 00:01:54 -05:00
imapserver.py Patch for error handling / separation of accounts etc. 2009-08-28 00:01:10 -05:00
imaputil.py Update FSF address 2006-08-12 05:15:55 +01:00
init.py [imaplib2 removal] Revert "Implementation of IMAP IDLE" 2009-08-12 14:49:58 -05:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py [imaplib2 removal] Revert "Implementation of IMAP IDLE" 2009-08-12 14:49:58 -05:00
threadutil.py Patch to make exit on Ctrl-C cleaner 2008-12-01 16:10:49 -06:00
version.py update version info 2009-08-12 00:41:19 -05:00