From f6d5c0771fc60c413bae644dbbdef64c81328ca7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 20 Feb 2017 01:16:56 +0200 Subject: [PATCH] example-config: Add mail_vsize_bg_after_count setting. --- doc/example-config/conf.d/10-mail.conf | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ## -- 2.47.3