about summary refs log tree commit homepage
path: root/lib/PublicInbox/IPC.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-10 12:15:15 +0000
committerEric Wong <e@80x24.org>2021-01-12 03:51:42 +0000
commit2e755e0b5e3bc25b06055dce53009bfba4c0504b (patch)
treeca9b02aa13016ae789396e3a61d5efccc613f634 /lib/PublicInbox/IPC.pm
parenta1e00c6bca403ffea74a5e169fa0d2f715c69051 (diff)
downloadpublic-inbox-2e755e0b5e3bc25b06055dce53009bfba4c0504b.tar.gz
Using kill(2) is too dangerous since extremely long
queries may mean the original PID of the aborted lei(1)
client process to be recycled by a new process.  It would
be bad if the lei_xsearch worker process issued a kill
on the wrong process.

So just rely on sending the exit message via socket.
Diffstat (limited to 'lib/PublicInbox/IPC.pm')
0 files changed, 0 insertions, 0 deletions