docker-offlineimap/offlineimap/folder
Sebastian Spaeth e20d8b9679 Remove upload neguid pass from sync logic
In order to optimize performance, we fold the 1st and 2nd pass of our
sync strategy into one. They were essentially doing the same thing:
uploading a message to the other side. The only difference was that in
one case we have a negative UID locally, and in the other case, we have
a positive one already.

This saves some time, as we don't have to run through that function on
IMAP servers anyway (they always have positive UIDs), and 2nd were we
stalling further copying until phase 1 was finished. So uploading a
single new message would prevent us from starting to copy existing
regular messages.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-04-25 13:01:53 +02:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Remove upload neguid pass from sync logic 2011-04-25 13:01:53 +02:00
Gmail.py Remove some unneeded imports 2011-03-14 19:51:52 +01:00
IMAP.py Replace calls to getmessagelist() to alternatives 2011-03-28 17:53:14 +02:00
LocalStatus.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00
Maildir.py folder/Maildir: Make use of helper functions 2011-04-11 18:57:25 +02:00
UIDMaps.py Remove upload neguid pass from sync logic 2011-04-25 13:01:53 +02:00