]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Add mail_vsize_bg_after_count setting.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 19 Feb 2017 23:16:56 +0000 (01:16 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 19 Feb 2017 23:16:56 +0000 (01:16 +0200)
doc/example-config/conf.d/10-mail.conf

index 8dc9ae90f306f31299eb2be4e9ef39bdac2638a4..a13b3ab98e851a88312d355da7bf9839b876ef93 100644 (file)
@@ -248,6 +248,14 @@ namespace inbox {
 # 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
 ##