36eb37b47d
For each folder we were making a second IMAP request asking for the latest UID and compared that with the highest UID in our statusfolder. This catched the case that 1 mail has been deleted by someone else and another one has arrived since we checked, so that the total number of mails appears to not have changed. We don't capture anymore this case in the quickchanged() case. It improves my performance from 8 to about 7.5 seconds per check (with lots of variation) and we would benefit even more in the IMAP<->IMAP case as we do one additional IMAP lookup per folder on each side then. Do cleanups on whitespaces while in this file. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net> |
||
---|---|---|
.. | ||
__init__.py | ||
Base.py | ||
Gmail.py | ||
IMAP.py | ||
LocalStatus.py | ||
Maildir.py | ||
UIDMaps.py |