summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortorne@chromium.org <torne@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2014-05-02 12:24:19 +0000
committertorne@chromium.org <torne@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2014-05-02 12:24:19 +0000
commit152521d7f30794d72674e56e1a03271991b9c423 (patch)
treeebcd2f0af32feceba6e2cc969dfa8b0da384ad5b
parentfc1e3d52ccc59c6e3a4618d0ecbc92dc275d9a5a (diff)
downloadgyp-152521d7f30794d72674e56e1a03271991b9c423.tar.gz
Revert "gyp: use all processors instead of hard-coded 8."
This reverts commit 56a70c5641bbb01683dfeb7aa8a65800a00fb936. The change made bug 112 trigger on a trybot since we used fewer processes, making bug 112 easier to trigger. The value of this patch is not big enough to fuss around. BUG= R=torne@chromium.org Review URL: https://codereview.chromium.org/265003004 git-svn-id: http://gyp.googlecode.com/svn/trunk@1911 78cadc50-ecff-11dd-a971-7dbc132099af
-rw-r--r--pylib/gyp/input.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylib/gyp/input.py b/pylib/gyp/input.py
index 4296cced..752bdc0f 100644
--- a/pylib/gyp/input.py
+++ b/pylib/gyp/input.py
@@ -603,7 +603,7 @@ def LoadTargetBuildFilesParallel(build_files, data, aux_data,
'multiple_toolsets': globals()['multiple_toolsets']}
if not parallel_state.pool:
- parallel_state.pool = multiprocessing.Pool(multiprocessing.cpu_count())
+ parallel_state.pool = multiprocessing.Pool(8)
parallel_state.pool.apply_async(
CallLoadTargetBuildFile,
args = (global_flags, dependency,