]> Sergey Matveev's repositories - public-inbox.git/commit
index: v2: parallelize if --reindex or --jobs is specified
authorEric Wong <e@yhbt.net>
Sun, 17 May 2020 00:08:54 +0000 (00:08 +0000)
committerEric Wong <e@yhbt.net>
Sun, 17 May 2020 19:08:42 +0000 (19:08 +0000)
commitf3482d4a19a8de47199fa18beb258deb699bf703
treeeb12fb207eefa3beb9fa70465262b78b249b92d7
parent9787fae1f7235bd790d1db6f0b513ce420c361bd
index: v2: parallelize if --reindex or --jobs is specified

`--reindex' involves chomping down lots of mail, so it benefits
from parallelization just like the initial indexing.  It's
also a bit surprising to specify `--jobs/-j' without parallel
processes, so ensure we turn on parallelization there, too.

We can simplify initialization here, as well, since neither
`eval' nor `V2Writable->new' should be in this code.
lib/PublicInbox/Admin.pm