diff --git a/.bazelrc b/.bazelrc index f00a26c8437..aeb0c37484c 100644 --- a/.bazelrc +++ b/.bazelrc @@ -7,6 +7,13 @@ common --registry=https://bcr.bazel.build common --credential_helper=*.qnx.com=%workspace%/.github/tools/qnx_credential_helper.py common --credential_helper_timeout="60s" +# In order to overcome stability issues in GitHub +common --experimental_repository_downloader_retries=30 +common --experimental_scale_timeouts=2.0 +common --http_connector_attempts=30 +common --http_connector_retry_max_timeout=1s +common --http_timeout_scaling=2.0 + # Clear ANDROID_HOME for repository rules. rules_android (pulled transitively via # grpc-java -> rules_jvm_external) evaluates android_sdk_repository, which fails # when ANDROID_HOME points at an incomplete SDK (as on CI runners). None of our