From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7C8E71F4B4 for ; Sun, 24 Jan 2021 11:46:55 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/9] lei remotes fixes and updates Date: Sun, 24 Jan 2021 04:46:46 -0700 Message-Id: <20210124114655.12815-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Eric Wong (9): lei q: limit concurrency to 4 remote connections ipc: wq supports arbitrarily large payloads ipc: get rid of wq_set_recv_modes lei q: disable remote externals if locals exist lei q: honor --no-local to force remote searches lei_xsearch: use curl -d '' for nginx compatibility lei q: fix JSON overview with remote externals smsg: make parse_references an object method smsg: parse_references: micro-optimization to avoid ++ lib/PublicInbox/IPC.pm | 85 +++++++++++++++++---------- lib/PublicInbox/LEI.pm | 9 ++- lib/PublicInbox/LeiOverview.pm | 2 +- lib/PublicInbox/LeiQuery.pm | 13 ++++- lib/PublicInbox/LeiToMail.pm | 7 +-- lib/PublicInbox/LeiXSearch.pm | 101 ++++++++++++++++++--------------- lib/PublicInbox/OverIdx.pm | 22 +------ lib/PublicInbox/SearchIdx.pm | 2 +- lib/PublicInbox/Smsg.pm | 22 ++++++- script/lei | 11 ++-- t/cmd_ipc.t | 16 ++++++ t/ipc.t | 21 ++++++- t/lei.t | 3 + 13 files changed, 196 insertions(+), 118 deletions(-)