]> Sergey Matveev's repositories - public-inbox.git/commit
lei note-event: fix explicit flush reliability
authorEric Wong <e@80x24.org>
Fri, 15 Oct 2021 13:30:56 +0000 (13:30 +0000)
committerEric Wong <e@80x24.org>
Fri, 15 Oct 2021 15:58:24 +0000 (15:58 +0000)
commit06d0f4419011dc6546ae200e4fbc1558464509c2
treefc7bf2305ab96544123d9b84ac471ba5c0a59f60
parenta1733d3406dfbde52d1468e671edd1d76893f546
lei note-event: fix explicit flush reliability

We need to send the socket over to lei/store and wait for the
kernel to drop the socket refcount down to zero before
script/lei can exit.

This is not a new bug and only caused very sporadic test
failures.  I only noticed it while simplifying IPC stuff.
lib/PublicInbox/LeiNoteEvent.pm