]> Sergey Matveev's repositories - public-inbox.git/commit
xcpdb|compact: support --jobs/-j flag like gmake(1)
authorEric Wong <e@80x24.org>
Thu, 23 May 2019 09:37:03 +0000 (09:37 +0000)
committerEric Wong <e@80x24.org>
Thu, 23 May 2019 17:43:51 +0000 (17:43 +0000)
commit4a918d9c17b045ad8151c86b09666799c354908f
tree99411ea0786083371ecaf8f95aa51324258c471d
parentea3528394f0ee5c47f9b94a4d92d129c709990df
xcpdb|compact: support --jobs/-j flag like gmake(1)

We don't have to be tied to the number of partitions in case
we made a bad choice at initialization.  This doesn't affect
reindexing, but the copying phase is already intensive.

And optimize away the extra process when we only have a single
job which won't parallelize.

The wording for the (v2) reindexing phase could be improved,
later.  I also plan to allow repartitioning of existing
Xapian DBs.
lib/PublicInbox/Xapcmd.pm