]> Sergey Matveev's repositories - public-inbox.git/commit
index: v2: parallel by default
authorEric Wong <e@yhbt.net>
Sun, 7 Jun 2020 20:02:15 +0000 (20:02 +0000)
committerEric Wong <e@yhbt.net>
Mon, 8 Jun 2020 08:07:40 +0000 (08:07 +0000)
commit8722adec7acac538c1cb92de6d53002a4e4e33b8
treedb046fdc511167345fba76e39c6a6f739e4de048
parent5df08b6cd4931e87c1cf676014256d00e3cdfc2c
index: v2: parallel by default

InboxWritable should only set $v2w->{parallel} if the $parallel
flag is defined to 0 or 1.  We want indexing a new inbox to
utilize SMP, just like --reindex.

-index once again allows -j0/--jobs=0 to force single-process
use, and we'll be ensuring that works in tests to maintain
performance on small systems.

Fixes: 61a2fff5b34a3e32 ("admin: move index_inbox over")
12 files changed:
lib/PublicInbox/InboxWritable.pm
script/public-inbox-index
t/cgi.t
t/convert-compact.t
t/indexlevels-mirror.t
t/mda_filter_rubylang.t
t/multi-mid.t
t/nntpd.t
t/replace.t
t/v2mirror.t
t/v2reindex.t
t/xcpdb-reshard.t