1
0
mirror of https://github.com/OfflineIMAP/offlineimap.git synced 2024-06-28 07:40:51 +02:00
offlineimap/offlineimap
Ben Boeckel 4217fccb82 mbnames: add option to write the file once per account
The basic problem is in the context of syncing multiple accounts where
one is fast and the others are slower (due to the number of folders).
When the fast account completes, the other accounts are partially written
through the list and if the file is read during this time, the list can
be useless. However, in the general case, the file is probably left
around from a previous run of offlineimap and is more correct, so add an
option to leave it alone until all syncing is done.

Incremental is still the default since this running offlineimap using
its own timer setup is likely the most common setup. Turning it off
works best with one-shot mode triggered by cron or systemd timers.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2015-03-22 21:15:46 +01:00
..
folder fix: don't copy messages if not necessary 2015-03-22 10:42:29 +01:00
repository Merge branch 'holomorph-remoteuser' into next 2015-03-10 23:06:17 +01:00
ui more style consistency 2015-02-10 17:25:00 +01:00
utils Make OS-default CA certificate file to be requested explicitely 2015-01-18 22:05:49 +03:00
__init__.py v6.5.7-rc3 2015-03-20 11:33:29 +01:00
accounts.py mbnames: add option to write the file once per account 2015-03-22 21:15:46 +01:00
CustomConfig.py Properly re-raise exception to save original tracebacks 2015-01-12 17:51:21 +03:00
emailutil.py more style consistency 2015-01-08 23:36:19 +01:00
error.py more consistent style 2015-01-07 21:31:43 +01:00
globals.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
imaplib2.py imaplib2: bump to version 2.42 2015-03-20 11:03:17 +01:00
imaplibutil.py fix inaccurate UI messages when some messages are excluded from the cached lists 2015-03-21 14:10:57 +01:00
imapserver.py idle: continue trying selecting the folder on OfflineImapError.Error 2015-03-18 23:09:34 +01:00
imaputil.py more style consistency 2015-02-10 17:25:00 +01:00
init.py mbnames: add option to write the file once per account 2015-03-22 21:15:46 +01:00
localeval.py localeval: avoid redefining 'file' keyword 2015-01-14 17:18:48 +01:00
mbnames.py mbnames: add option to write the file once per account 2015-03-22 21:15:46 +01:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py more style consistency 2015-02-10 17:25:00 +01:00