Limit number of concurrent gsutil cp calls
gsutil utilizes as many cores as possible, and will create many threads too. In combination with gclient doing the same thing (utilize as many cores as possible), this results in creating way too many processes and some builders are running out of resources (e.g. can't create threads). This limits number of gsutil cp commands in git_cache to two. R=apolito@google.com, dpranke@google.com Bug: 1255228, 1249003 Change-Id: Ifcccaacde6c9e1c60c1da0a0bc5a3e512e158dcc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3219900Reviewed-by: Dirk Pranke <dpranke@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Showing
Please
register
or
sign in
to comment