]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
mdbox: Optimize mail_temp_scan_interval storage/ scanning
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 20 Jun 2023 15:58:13 +0000 (18:58 +0300)
committermarkus.valentin <markus.valentin@open-xchange.com>
Wed, 21 Jun 2023 12:46:57 +0000 (12:46 +0000)
commit88eee28fd86d619b26ce6aebadca5b18e748dc6f
tree7c8cf7c99359427ad143e9deae57b414bdc05e62
parentb907907882594023d89ada2c9f059879f12a2f12
mdbox: Optimize mail_temp_scan_interval storage/ scanning

Use the generic dbox scanning code, which avoids stat()ing the directory by
keeping the timestamp in index header. Also do the scanning while at
session deinit instead of startup, so the latency isn't visible to clients.
src/lib-storage/index/dbox-multi/mdbox-map.c