about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-16 01:32:01 +0000
committerEric Wong <e@80x24.org>2019-06-16 01:32:01 +0000
commit70ac66478d492a356e261a1d92a5ec4e784b1680 (patch)
tree72401af4939c56466134f0b77f32f4bb461874a2
parentc477bdd8a80eecc319b680764edfb24bd12cb7b2 (diff)
downloadpublic-inbox-70ac66478d492a356e261a1d92a5ec4e784b1680.tar.gz
It's slightly confusing since we dedicate one job
to dealing with fast-import + SQLite indexing; and
it's not worth complaining about when it happens.
-rw-r--r--lib/PublicInbox/Admin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm
index 29388ad6..6e710cd5 100644
--- a/lib/PublicInbox/Admin.pm
+++ b/lib/PublicInbox/Admin.pm
@@ -205,7 +205,7 @@ sub index_inbox {
                                 $v2w->{parallel} = 0;
                         } else {
                                 my $n = $v2w->{shards};
-                                if ($jobs != ($n + 1)) {
+                                if ($jobs != ($n + 1) && !$opt->{reshard}) {
                                         warn
 "Unable to respect --jobs=$jobs, inbox was created with $n shards\n";
                                 }