changeset 21612:d7be00aa2cea

example-config: Add mail_vsize_bg_after_count setting.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 20 Feb 2017 01:16:56 +0200
parents 20d399c6aea9
children 4f619a893c9f
files doc/example-config/conf.d/10-mail.conf
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/example-config/conf.d/10-mail.conf	Mon Feb 20 01:00:05 2017 +0200
+++ b/doc/example-config/conf.d/10-mail.conf	Mon Feb 20 01:16:56 2017 +0200
@@ -248,6 +248,14 @@
 # These should exist only after Dovecot dies in the middle of saving mails.
 #mail_temp_scan_interval = 1w
 
+protocol !indexer-worker {
+  # If folder vsize calculation requires opening more than this many mails from
+  # disk (i.e. mail sizes aren't in cache already), return failure and finish
+  # the calculation via indexer process. Disabled by default. This setting must
+  # be 0 for indexer-worker processes.
+  #mail_vsize_bg_after_count = 0
+}
+
 ##
 ## Maildir-specific settings
 ##