]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_query: remove unnecessary V2Writable require
authorEric Wong <e@80x24.org>
Thu, 1 Apr 2021 12:10:38 +0000 (17:10 +0500)
committerEric Wong <e@80x24.org>
Thu, 1 Apr 2021 18:25:15 +0000 (18:25 +0000)
AFAIK that was only used for nproc detection, and nproc
is handled by PublicInbox::IPC, nowadays.

lib/PublicInbox/LeiQuery.pm

index 3a437bf0030842c291c572af7301ff6c11b28a57..9174bea8c2beb748011b57b816d03835cd7f229d 100644 (file)
@@ -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;