about summary refs log tree commit homepage
path: root/lib/PublicInbox/Over.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-05 21:51:31 +0000
committerEric Wong <e@yhbt.net>2020-07-14 09:14:12 +0000
commit2a5ffae959ebe49dbfbff809db1aa798ceae4228 (patch)
tree06704962df6ab159b9cc7f72a20772d2df0e7238 /lib/PublicInbox/Over.pm
parentd78efbd2f3d973477099261e3c75bf4852473b77 (diff)
downloadpublic-inbox-2a5ffae959ebe49dbfbff809db1aa798ceae4228.tar.gz
xapcmd: delay over->check_inodes trigger
We must not trigger wakeups on InboxIdle users until after we've
renamed all files into place.  Otherwise, the InboxIdle caller
may just reopen the old (soon-to-be-unlinked) file.

This fixes occasional test failures in t/nntpd.t

Fixes: f977826a17f8735e ("lock: reduce inotify wakeups")
Diffstat (limited to 'lib/PublicInbox/Over.pm')
0 files changed, 0 insertions, 0 deletions