Skip to content

Commit f2bfc0b

Browse files
authored
Use default value of 5 for repository downloader (#1108)
1 parent 01c8dca commit f2bfc0b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.aspect/bazelrc/bazel6.bazelrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,10 @@ query --experimental_allow_tags_propagation
5454
# author.
5555
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
5656
build --nolegacy_external_runfiles
57+
58+
# The maximum number of attempts to retry a download error.
59+
# Using the default value from Bazel 8.
60+
# Docs: https://bazel.build/reference/command-line-reference#common_options-flag--experimental_repository_downloader_retries
61+
build --experimental_repository_downloader_retries=5
62+
fetch --experimental_repository_downloader_retries=5
63+
query --experimental_repository_downloader_retries=5

.aspect/bazelrc/bazel7.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ common --nolegacy_external_runfiles
2626
# Using the same value here than what is the default in Bazel 8 to help with https://github.com/bazelbuild/bazel/issues/22387
2727
# Docs: https://bazel.build/reference/command-line-reference#build-flag--experimental_remote_cache_eviction_retries
2828
common --experimental_remote_cache_eviction_retries=5
29+
30+
# The maximum number of attempts to retry a download error.
31+
# Using the default value from Bazel 8.
32+
# Docs: https://bazel.build/reference/command-line-reference#common_options-flag--experimental_repository_downloader_retries
33+
common --experimental_repository_downloader_retries=5

0 commit comments

Comments
 (0)