# HG changeset patch # User Timo Sirainen # Date 1487546216 -7200 # Node ID d7be00aa2ceab3ec5944945d7f64c31acbdc1332 # Parent 20d399c6aea98a4062ff1c174f5ef844962dc662 example-config: Add mail_vsize_bg_after_count setting. diff -r 20d399c6aea9 -r d7be00aa2cea doc/example-config/conf.d/10-mail.conf --- 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 ##