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 BC1781F9FC for ; Tue, 23 Mar 2021 11:48:08 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] lei: more input + worker-related stuff Date: Tue, 23 Mar 2021 11:48:03 +0000 Message-Id: <20210323114808.7605-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Drop a bunch of redundant code, yay! Eric Wong (5): net_reader: nntp_each: pass keywords as `undef' test_common: check lei/errors.log lei: persistent workers (lei_store) run in / lei_input: more common code between lei: improve management around short-lived workers lib/PublicInbox/LEI.pm | 2 +- lib/PublicInbox/LeiConvert.pm | 50 +++++------------- lib/PublicInbox/LeiExternal.pm | 3 +- lib/PublicInbox/LeiImport.pm | 94 +++++++++------------------------- lib/PublicInbox/LeiInput.pm | 45 ++++++++++++++-- lib/PublicInbox/LeiMark.pm | 59 ++++----------------- lib/PublicInbox/LeiMirror.pm | 2 +- lib/PublicInbox/LeiP2q.pm | 5 +- lib/PublicInbox/LeiQuery.pm | 2 +- lib/PublicInbox/NetReader.pm | 5 +- lib/PublicInbox/TestCommon.pm | 13 +++-- 11 files changed, 109 insertions(+), 171 deletions(-)