From: Eric Wong Date: Fri, 26 Apr 2024 11:29:42 +0000 (+0000) Subject: search: remove auto-start for async_mset X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f4c4163ad8d8045dbcfddaeddfdb986a79d4969;p=thirdparty%2Fpublic-inbox.git search: remove auto-start for async_mset Only public-facing daemons use it, currently, and all public-facing daemons will pre-spawn it as early as feasible. lei will need it eventually to handle queries requiring C++, but I'm not certain what path to take with lei, yet... --- diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 4adef3663..fbdb48a3f 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -465,7 +465,6 @@ sub xh_opt ($) { # and a falsy value if handled synchronously sub async_mset { my ($self, $qry_str, $opt, $cb, @args) = @_; - $XHC //= xhc_start_maybe; if ($XHC) { # unconditionally retrieving pct + rank for now xdb($self); # populate {nshards} my @margs = ($self->xh_args, xh_opt($opt));