From: Eric Wong Date: Thu, 27 Feb 2025 00:08:16 +0000 (+0000) Subject: search: remove xhc_start_maybe X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1215c318398ff20d766ba603c3b37eb910f25f95;p=thirdparty%2Fpublic-inbox.git search: remove xhc_start_maybe 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. --- diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 0e288cf04..98ad50343 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -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 ($$) {