Limit python multiprocessing jobs on windows due to Python3 bug.
Python3 appears to have a bug causing hangs when running jobs using the
`multiprocessing` module to distribute tasks across more than 56 cores
This CL puts a ceiling on any such code to avoid the hang. This
should have little to no impact in practice because there are
few if any such tasks that we do that really take advantage of
that many cores. But, because it's not uncommon to use the default
cpu_count() value, we are more prone to hit this on very high-end
This CL does not change any Android-specific scripts, since those
won't be run on Windows.
Commit-Queue: Dirk Pranke <firstname.lastname@example.org>
Reviewed-by: John Chen <email@example.com>
Reviewed-by: Robert Sesek <firstname.lastname@example.org>
Reviewed-by: Kentaro Hara <email@example.com>
Reviewed-by: Yuki Shiino <firstname.lastname@example.org>
1 file changed