about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-19 09:33:44 +0000
committerEric Wong <e@80x24.org>2021-10-19 17:29:22 +0000
commit1f887bd51d92b0d4fea4d8e3c36f4328c6b0ae76 (patch)
treee7328f6064a207345e509ced0befee057494afcc /lib/PublicInbox
parent4771f14af23c2a9c5dae9b3d57267bf981487a46 (diff)
downloadpublic-inbox-1f887bd51d92b0d4fea4d8e3c36f4328c6b0ae76.tar.gz
This is necessary for in case an inspect command is run
in a parallel with other commands.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/LeiInspect.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiInspect.pm b/lib/PublicInbox/LeiInspect.pm
index 05b6e21d..38ef3ad9 100644
--- a/lib/PublicInbox/LeiInspect.pm
+++ b/lib/PublicInbox/LeiInspect.pm
@@ -289,4 +289,10 @@ sub _complete_inspect {
         # TODO: message-ids?, blobs? could get expensive...
 }
 
+sub input_only_atfork_child {
+        my ($self) = @_;
+        $self->{lei}->_lei_atfork_child;
+        $self->SUPER::ipc_atfork_child;
+}
+
 1;