From: Timo Sirainen Date: Sun, 19 Feb 2017 23:16:56 +0000 (+0200) Subject: example-config: Add mail_vsize_bg_after_count setting. X-Git-Tag: 2.3.0.rc1~2049 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e76721e637d1926e42d05c73377f1e61788c92cf;p=thirdparty%2Fdovecot%2Fcore.git example-config: Add mail_vsize_bg_after_count setting. --- diff --git a/doc/example-config/conf.d/10-mail.conf b/doc/example-config/conf.d/10-mail.conf index 8dc9ae90f3..a13b3ab98e 100644 --- a/doc/example-config/conf.d/10-mail.conf +++ b/doc/example-config/conf.d/10-mail.conf @@ -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 ##