* [PATCH 2/4] search: remove auto-start for async_mset
2024-04-26 11:29 5% [PATCH 0/4] more xap_helper updates Eric Wong
@ 2024-04-26 11:29 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2024-04-26 11:29 UTC (permalink / raw)
To: meta
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));
^ permalink raw reply related [relevance 7%]
* [PATCH 0/4] more xap_helper updates
@ 2024-04-26 11:29 5% Eric Wong
2024-04-26 11:29 7% ` [PATCH 2/4] search: remove auto-start for async_mset Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2024-04-26 11:29 UTC (permalink / raw)
To: meta
Eric Wong (4):
test_common: don't needlessly rebuild C++ Xapian helper
search: remove auto-start for async_mset
xap_helper: reopen logs in daemons
xap_helper: implement alarm(2)-based timeout
lib/PublicInbox/Daemon.pm | 37 ++++++++++++++++-------
lib/PublicInbox/Search.pm | 1 -
lib/PublicInbox/TestCommon.pm | 13 ++++----
lib/PublicInbox/XapHelper.pm | 23 ++++++++++++--
lib/PublicInbox/xap_helper.h | 56 +++++++++++++++++++++++++++++++++--
t/psgi_v2.t | 54 +++++++++++++++++++++++++++++++++
t/xap_helper.t | 15 ++++++++++
7 files changed, 177 insertions(+), 22 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2024-04-26 11:29 5% [PATCH 0/4] more xap_helper updates Eric Wong
2024-04-26 11:29 7% ` [PATCH 2/4] search: remove auto-start for async_mset Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).