]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Avoid unnecessary stat()s in mailbox list index notifications
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 11 Sep 2017 10:54:12 +0000 (13:54 +0300)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Wed, 13 Sep 2017 12:22:09 +0000 (15:22 +0300)
commit182724707b7f73a181716d439863fb756d8ad03d
tree0225ebee20e564ce7563034bd797513fa64a37ff
parent5ddc694e19875c8e3ad7db77807d6ae4360acdca
lib-storage: Avoid unnecessary stat()s in mailbox list index notifications

If mailbox list gets a notification there's no need to stat() the INBOX, and
vice versa. Also if the notification was already seen and a callback timeout
set, there's no need to keep stat()ing.
src/lib-storage/list/mailbox-list-index-notify.c