]> Sergey Matveev's repositories - public-inbox.git/commit
lei: clamp internal worker processes to 4
authorEric Wong <e@80x24.org>
Sun, 19 Sep 2021 12:50:26 +0000 (12:50 +0000)
committerEric Wong <e@80x24.org>
Sun, 19 Sep 2021 19:52:48 +0000 (19:52 +0000)
commit46001a7685f11cfe2b9263b0eb38478c8e951585
tree02f29067755ce1430290bce777fb4073abf2dd54
parentee355020415fbbebbeb8fbe79be4e4f3fa2e657b
lei: clamp internal worker processes to 4

"All" my CPUs is only 4, but it's probably ridiculous for
somebody with a 16-core system to have 16 processes for
accessing SQLite DBs.

We do the same thing in Pmdir for parallel Maildir access
(and V2Writable).
lib/PublicInbox/LeiImportKw.pm
lib/PublicInbox/LeiNoteEvent.pm