]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
search: remove xhc_start_maybe
authorEric Wong <e@80x24.org>
Thu, 27 Feb 2025 00:08:16 +0000 (00:08 +0000)
committerEric Wong <e@80x24.org>
Tue, 4 Mar 2025 07:54:11 +0000 (07:54 +0000)
We start xap_helper processes early in both public-facing
daemons to ensure maximum sharing.  lei may be different
since lingering processes likely sit idle for long periods
and we don't want to tie up RAM or swap space for idle
processes.

lib/PublicInbox/Search.pm

index 0e288cf048254192f7abcd320037094e3457aa00..98ad503438b15116a11afc33a8161f00fe9caa3d 100644 (file)
@@ -446,13 +446,6 @@ sub mset {
        do_enquire($self, $qry, $opt, TS);
 }
 
-sub xhc_start_maybe (@) {
-       require PublicInbox::XapClient;
-       my $xhc = PublicInbox::XapClient::start_helper(@_);
-       require PublicInbox::XhcMset if $xhc;
-       $xhc;
-}
-
 my %QPMETHOD_2_SYM = (add_prefix => ':', add_boolean_prefix => '=');
 
 sub xh_opt ($$) {