]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Admin.pm
Merge remote-tracking branch 'origin/newspeak' into xcpdb
[public-inbox.git] / lib / PublicInbox / Admin.pm
index 8a2f20431c1ba403bbfc6a95dbe6c9dbd443105d..29388ad6ddd10b7f352f143c51d732b690291c8c 100644 (file)
@@ -204,10 +204,10 @@ sub index_inbox {
                        if ($jobs == 0) {
                                $v2w->{parallel} = 0;
                        } else {
-                               my $n = $v2w->{partitions};
+                               my $n = $v2w->{shards};
                                if ($jobs != ($n + 1)) {
                                        warn
-"Unable to respect --jobs=$jobs, inbox was created with $n partitions\n";
+"Unable to respect --jobs=$jobs, inbox was created with $n shards\n";
                                }
                        }
                }