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> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
imaplib2.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
syncmaster.py | ||
threadutil.py |