From 5f4c4163ad8d8045dbcfddaeddfdb986a79d4969 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 26 Apr 2024 11:29:42 +0000 Subject: 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... --- lib/PublicInbox/Search.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 4adef366..fbdb48a3 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)); -- cgit v1.2.3-24-ge0c7