]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Make sure mailbox list notification flush sees latest changes.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 11 Sep 2017 10:48:17 +0000 (13:48 +0300)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Wed, 13 Sep 2017 12:22:09 +0000 (15:22 +0300)
commit5ddc694e19875c8e3ad7db77807d6ae4360acdca
treede2096478cc72825bf53c3fd90add28c45119f5e
parent3581ece16eb740a5003c4c11dd3c7d02839a24a4
lib-storage: Make sure mailbox list notification flush sees latest changes.

This is mainly useful with imaptest test scripts to make sure they're seeing
the changes done by the other session, without assuming that inotify will
always notify about the change before NOOP is run (it doesn't).

Do this only if mailbox_idle_check_interval>0, so it's not run when periodic
stat()s are wanted to be avoided.
src/lib-storage/list/mailbox-list-index-notify.c