about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2024-04-26 11:29:42 +0000
committerEric Wong <e@80x24.org>2024-04-28 17:05:32 +0000
commit5f4c4163ad8d8045dbcfddaeddfdb986a79d4969 (patch)
tree253de7e34935ad101aa7a37ae73f473ff83d0e61 /lib/PublicInbox/Search.pm
parentfac2a191fd211fda9309dd63fac4eae0e6f03589 (diff)
downloadpublic-inbox-5f4c4163ad8d8045dbcfddaeddfdb986a79d4969.tar.gz
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...
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm1
1 files changed, 0 insertions, 1 deletions
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));