Commit 8b295bcc authored by Caleb Rouleau's avatar Caleb Rouleau

[Benchmarking] Fix data upload failures.

Bug: 1035930
Change-Id: I95c63e80eb1c64a366a2d14018808ec2e6cc6712
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1976432
Auto-Submit: Caleb Rouleau <crouleau@chromium.org>
Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Commit-Queue: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726449}
parent 29b13b51
...@@ -514,7 +514,11 @@ def _handle_perf_results( ...@@ -514,7 +514,11 @@ def _handle_perf_results(
build_properties, output_json_file)) build_properties, output_json_file))
# Kick off the uploads in multiple processes # Kick off the uploads in multiple processes
pool = multiprocessing.Pool(_GetCpuCount()) # crbug.com/1035930: We are hitting HTTP Response 429. Limit ourselves
# to 2 processes to avoid this error. Uncomment the following code once
# the problem is fixed on the dashboard side.
# pool = multiprocessing.Pool(_GetCpuCount())
pool = multiprocessing.Pool(2)
try: try:
async_result = pool.map_async( async_result = pool.map_async(
_upload_individual_benchmark, invocations) _upload_individual_benchmark, invocations)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment