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-ASN: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,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 844071F934 for ; Thu, 1 Apr 2021 12:10:42 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/5] lei_query: remove unnecessary V2Writable require Date: Thu, 1 Apr 2021 17:10:38 +0500 Message-Id: <20210401121042.6456-2-e@80x24.org> In-Reply-To: <20210401121042.6456-1-e@80x24.org> References: <20210401121042.6456-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: AFAIK that was only used for nproc detection, and nproc is handled by PublicInbox::IPC, nowadays. --- lib/PublicInbox/LeiQuery.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm index 3a437bf0..9174bea8 100644 --- a/lib/PublicInbox/LeiQuery.pm +++ b/lib/PublicInbox/LeiQuery.pm @@ -86,7 +86,6 @@ sub lxs_prepare { sub lei_q { my ($self, @argv) = @_; require PublicInbox::LeiOverview; - require PublicInbox::V2Writable; PublicInbox::Config->json; # preload before forking PublicInbox::LeiOverview->new($self) or return; my $lxs = lxs_prepare($self) or return;