about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiXSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-23 04:51:41 -0200
committerEric Wong <e@80x24.org>2021-03-24 01:33:26 +0000
commit1bc8c2c264b47079d424ac766095efee3bbc5da0 (patch)
tree071ad76c6ed799ee0dff91ea5853b2a9d09ae587 /lib/PublicInbox/LeiXSearch.pm
parent767f310dcd887066c7263cfe6093f7529ffe631c (diff)
downloadpublic-inbox-1bc8c2c264b47079d424ac766095efee3bbc5da0.tar.gz
Otherwise we could get non-sensical results if somebody tries
running "lei atfork_child" from the command-line.
Diffstat (limited to 'lib/PublicInbox/LeiXSearch.pm')
-rw-r--r--lib/PublicInbox/LeiXSearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index b6aaf3e1..c6b82eeb 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -401,7 +401,7 @@ sub incr_start_query { # called whenever an l2m shard starts do_post_auth
 
 sub ipc_atfork_child {
         my ($self) = @_;
-        $self->{lei}->lei_atfork_child;
+        $self->{lei}->_lei_atfork_child;
         $SIG{__WARN__} = PublicInbox::Eml::warn_ignore_cb();
         $self->SUPER::ipc_atfork_child;
 }