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 71D681F44D for ; Thu, 25 Apr 2024 21:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1714080706; bh=s2Z00vyM34L8PWdMZxEBaan0WhEoM3Cu9cMqayZEw0Y=; h=From:To:Subject:Date:From; b=a6N0FhmYua5FRL605mSSkEiLH6LB8QGSxbI+NRiO0QYXNad8L6Y2EXPMJpjIrO9BD +/ms6Jr2AWqXqrZsPNlAD7csYmsu9NXo2me95Xp3QiF+fAIy6jKr4arPuZHMtE2tnt Ksy34D4O8vyU+0MtQ71bRMSuCJm5VeGl3vpLaSC4= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] xap_helper stuff for public daemons Date: Thu, 25 Apr 2024 21:31:41 +0000 Message-ID: <20240425213146.1166555-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 1 and 2 are trivial fixes. 3 and 4 makes failures more graceful when dealing with resource exhaustion. 5 allows configuring the Xapian helper processes from the top-level daemon and reverts to disabling helpers by default. Eric Wong (5): t/cindex: require DBD::SQLite for now www: mbox*: use Perl 5.12 send_cmd4: make `tries' a per-call parameter search: async_mset: pass resource errors to callback daemon: share and allow configuring Xapian helpers Documentation/public-inbox-daemon.pod | 38 +++++++++++++++++++++++++-- Makefile.PL | 6 +++++ lib/PublicInbox/CmdIPC4.pm | 12 ++++----- lib/PublicInbox/Daemon.pm | 24 +++++++++++++++-- lib/PublicInbox/Mbox.pm | 2 +- lib/PublicInbox/MboxGz.pm | 2 +- lib/PublicInbox/Search.pm | 16 ++++++----- lib/PublicInbox/Spawn.pm | 12 +++++---- lib/PublicInbox/Syscall.pm | 8 +++--- lib/PublicInbox/TestCommon.pm | 9 ++++++- lib/PublicInbox/XapClient.pm | 7 ++--- t/cindex.t | 2 +- 12 files changed, 106 insertions(+), 32 deletions(-)