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.2.28.rc1~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6d5c0771fc60c413bae644dbbdef64c81328ca7;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 ea4c9e0fd4..87422470b2 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 ##