]> Sergey Matveev's repositories - public-inbox.git/commit
lock: reduce inotify wakeups
authorEric Wong <e@yhbt.net>
Wed, 24 Jun 2020 18:45:07 +0000 (18:45 +0000)
committerEric Wong <e@yhbt.net>
Thu, 25 Jun 2020 05:37:45 +0000 (05:37 +0000)
commitf977826a17f8735e6947dd2da380df8c6d0b38d8
treea3879cdbfd7ba1ac32008173d163d8f5f4163fbb
parent7601f7d864d74dae58ee248e426527fb2ebe74a5
lock: reduce inotify wakeups

We can reduce the amount of platform-specific code by always
relying on IN_MODIFY/NOTE_WRITE notifications from lock release.
This reduces the number of times our read-only daemons will
need to wake up when -watch sees no-op message changes
(e.g. replied, seen, recent flag changes).
lib/PublicInbox/Import.pm
lib/PublicInbox/InboxIdle.pm
lib/PublicInbox/KQNotify.pm
lib/PublicInbox/Lock.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/V2Writable.pm
lib/PublicInbox/Xapcmd.pm