changeset 22381:97c212d6dd64

example-config: Add mailbox_list_index_very_dirty_syncs
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 24 Jul 2017 14:12:55 +0300
parents b83a0ed2793a
children 9fab68be12db
files doc/example-config/conf.d/10-mail.conf
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/example-config/conf.d/10-mail.conf	Sat Jul 22 18:39:19 2017 +0300
+++ b/doc/example-config/conf.d/10-mail.conf	Mon Jul 24 14:12:55 2017 +0300
@@ -222,6 +222,11 @@
 # 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.