diff options
author | Eric Wong <e@80x24.org> | 2019-06-14 07:59:53 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-14 21:56:40 +0000 |
commit | 240de56c97d767cd5c819ac0be858359e8d2eff3 (patch) | |
tree | 23e78da9df2834d49f2f1d6a15609eed54c655d2 /lib/PublicInbox/Admin.pm | |
parent | 9b20aeef079c67ddaa2911b89f0b1209903d72fb (diff) | |
download | public-inbox-240de56c97d767cd5c819ac0be858359e8d2eff3.tar.gz |
Our internal data structure should be consistent with Xapian terminology.
Diffstat (limited to 'lib/PublicInbox/Admin.pm')
-rw-r--r-- | lib/PublicInbox/Admin.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm index 5549b855..29388ad6 100644 --- a/lib/PublicInbox/Admin.pm +++ b/lib/PublicInbox/Admin.pm @@ -204,7 +204,7 @@ 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 shards\n"; |