]> Sergey Matveev's repositories - public-inbox.git/commit
lei: fork + FD cleanup
authorEric Wong <e@80x24.org>
Sun, 10 Jan 2021 12:15:16 +0000 (12:15 +0000)
committerEric Wong <e@80x24.org>
Tue, 12 Jan 2021 03:51:42 +0000 (03:51 +0000)
commitf478afc01d2137baa215b112f7cbd33c29f28ab7
tree6d5618937d1850cc8f657617c06282e9077df591
parent2e755e0b5e3bc25b06055dce53009bfba4c0504b
lei: fork + FD cleanup

Do a better job of closing FDs that we don't want shared with
the work queue workers.  We'll also fix naming and use
"atfork_prepare" instead of "atfork_parent" to match
pthread_atfork(3) naming.
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiQuery.pm
lib/PublicInbox/LeiXSearch.pm