Mercurial > hg
diff tests/test-fileset.t @ 45376:26eb62bd0550
posixworker: avoid creating workers that end up getting no work
If `workers` (the detected or configured number of CPUs) is greater
than the number of work items, then some of the workers end up getting
0 work items. Let's not create such workers.
Differential Revision: https://phab.mercurial-scm.org/D8927
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 13 Aug 2020 10:37:25 -0700 |
parents | 0a0bad6d7ac0 |
children | fc4fb2f17dd4 |