Set seven-day garbage collection ages for Bazel caches (#59242)

Configure `--experimental_disk_cache_gc_max_age` and
`--repo_contents_cache_gc_max_age` to `7d` in `.bazelrc`.

GitOrigin-RevId: d4d9c652269d56b854ad8d473b83809b76d683e5
This commit is contained in:
Adam Perry @ OpenAI
2026-11-03 22:14:19 +00:00
committed by copyberry
parent 3abe09d017
commit 943a21829d
+2
View File
@@ -4,7 +4,9 @@ common --repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1
common --xcode_version_config=//:disable_xcode
common --disk_cache=~/.cache/bazel-disk-cache
common --experimental_disk_cache_gc_max_age=7d
common --repo_contents_cache=~/.cache/bazel-repo-contents-cache
common --repo_contents_cache_gc_max_age=7d
common --repository_cache=~/.cache/bazel-repo-cache
common --remote_cache_compression
startup --experimental_remote_repo_contents_cache