From 1215c318398ff20d766ba603c3b37eb910f25f95 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 27 Feb 2025 00:08:16 +0000 Subject: [PATCH] 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. --- lib/PublicInbox/Search.pm | 7 ------- 1 file changed, 7 deletions(-) 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 ($$) { -- 2.47.3