]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiImport.pm
lei: lock worker counts
[public-inbox.git] / lib / PublicInbox / LeiImport.pm
index 7c563bd8c8e79e864325cd0833e88d59406a120e..b1cb3940ee365cfe7f65e26585b53658cb576ea8 100644 (file)
@@ -101,7 +101,6 @@ sub do_import_index ($$@) {
        }
        my $ops = {};
        $lei->{auth}->op_merge($ops, $self) if $lei->{auth};
-       $self->{-wq_nr_workers} = $j // 1; # locked
        $lei->{-eml_noisy} = 1;
        (my $op_c, $ops) = $lei->workers_start($self, $j, $ops);
        $lei->{wq1} = $self;