]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: nproc_shards: subtract 1 from given value
authorEric Wong <e@yhbt.net>
Sun, 2 Feb 2020 06:52:15 +0000 (06:52 +0000)
committerEric Wong <e@yhbt.net>
Sun, 2 Feb 2020 17:29:50 +0000 (17:29 +0000)
commit2710d3105e70ff467eff9e977325628b4e9dd1c5
treebd394015cdcc32a01b59fe216d46bc5fd6b3ec48
parent2b359355ae5839a5597ba81a40194bb3503118a0
v2writable: nproc_shards: subtract 1 from given value

This is to be consistent with the `nproc(1)' code path.  It also
quiets down a warning from Admin when "-j $JOBS" is specified,
since the master process (which distributes work to shards and
handles OverIdx and Msgmap) is considered a job on its own.
lib/PublicInbox/V2Writable.pm
t/xcpdb-reshard.t