Mercurial > hg
diff tests/test-diff-change.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 | 98976e3cae57 |
children | 64292addbe67 |