]> 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)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Mon, 24 Jul 2017 15:44:40 +0000 (18:44 +0300)
doc/example-config/conf.d/10-mail.conf

index 4665cef6fab060ee06c58ee3da3ef1142e19df4e..3832a7c6be5d0e97077292baea85687ac5be5d4c 100644 (file)
@@ -222,6 +222,11 @@ namespace inbox {
 # also required for IMAP NOTIFY extension to be enabled.
 #mailbox_list_index = yes
 
+# 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.