From c9fba4f2f205d6d63dd0c78883e59f9ab4096b1d Mon Sep 17 00:00:00 2001 From: "Dmitriy.Panov" Date: Wed, 11 Feb 2026 11:31:07 +0100 Subject: [PATCH] MRI-3577 retrying failed downloads up to 5 times, scaling all HTTP timeouts by 2x for all Bazel commands globally GitOrigin-RevId: da780cc3e386c1ad21604309930d9d780b3a8b39 --- common.bazelrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common.bazelrc b/common.bazelrc index 7527832ae2e5..957d7363c20b 100644 --- a/common.bazelrc +++ b/common.bazelrc @@ -171,4 +171,10 @@ common --per_file_copt=external/.*grpc.*@--GRPC_WAS_NOT_SUPPOSED_TO_BE_BUILT common --host_per_file_copt=external/.*grpc.*@--GRPC_WAS_NOT_SUPPOSED_TO_BE_BUILT # need to use Python from rules_python in rules_pkg in pkg_zip target -common --@rules_python//python/config_settings:bootstrap_impl=script \ No newline at end of file +common --@rules_python//python/config_settings:bootstrap_impl=script + +# Retry downloads up to 5 times +common --experimental_repository_downloader_retries=5 + +# Scale HTTP timeouts by 2x +common --http_timeout_scaling=2.0