]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Add mailbox_list_index_very_dirty_syncs
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 24 Jul 2017 11:12:55 +0000 (14:12 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 25 Jul 2017 15:04:13 +0000 (18:04 +0300)
doc/example-config/conf.d/10-mail.conf

index 38c800fe04d72d5db90d9a0907d37c1e10a74c3d..62a5bb4bd5d621fe4eccc279825bbdac83e6671b 100644 (file)
@@ -222,6 +222,11 @@ namespace inbox {
 # also required for IMAP NOTIFY extension to be enabled.
 #mailbox_list_index = no
 
+# Trust mailbox list index to be up-to-date. This reduces disk I/O at the cost
+# of potentially returning out-of-date results after e.g. server crashes.
+# The results will be automatically fixed once the folders are opened.
+#mailbox_list_index_very_dirty_syncs = yes
+
 # The minimum number of mails in a mailbox before updates are done to cache
 # file. This allows optimizing Dovecot's behavior to do less disk writes at
 # the cost of more disk reads.