about summary refs log tree commit homepage
path: root/t/v2reindex.t
diff options
context:
space:
mode:
Diffstat (limited to 't/v2reindex.t')
-rw-r--r--t/v2reindex.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/v2reindex.t b/t/v2reindex.t
index 8a3071b7..c416629c 100644
--- a/t/v2reindex.t
+++ b/t/v2reindex.t
@@ -39,14 +39,13 @@ my $mime = PublicInbox::MIME->create(
         ],
         body => $agpl,
 );
-local $ENV{NPROC} = 2;
 my $minmax;
 my $msgmap;
 my ($mark1, $mark2, $mark3, $mark4);
 {
         my %config = %$ibx_config;
         my $ibx = PublicInbox::Inbox->new(\%config);
-        my $im = PublicInbox::V2Writable->new($ibx, 1);
+        my $im = PublicInbox::V2Writable->new($ibx, {nproc => 1});
         my $im0 = $im->importer();
         foreach my $i (1..10) {
                 $mime->header_set('Message-Id', "<$i\@example.com>");