From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A3B801F51A for ; Fri, 26 Apr 2024 11:29:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1714130984; bh=AqxsoqdeWmn7XKSiR7sbVZ/JrSlwp0tP9DHhApdpej4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CHCfRAw4Ij/cg7NnxUGzOuRpfUh/E93+QKN5y+2EEUutMDRNQNrbEn/rJzUCQwimd cZJdbbjy8LGn+yDYMgsH6sQNoLAfU9vaukOHSxiU5ysiF0Vjih1wa12ynNtnZWPFkK WOP/D8MafBBUOH3ScatwrVQM0dudKzLglhOmg9w0= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/4] search: remove auto-start for async_mset Date: Fri, 26 Apr 2024 11:29:42 +0000 Message-ID: <20240426112944.1528532-3-e@80x24.org> In-Reply-To: <20240426112944.1528532-1-e@80x24.org> References: <20240426112944.1528532-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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));