Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merkle_tree_cache: change default size to 1000
The implementation of Merkle Tree Cache maintains an in-process map which cache the Input merkle tree's nodes to save traversal time when Bazel have to interact with Remote Cache and/or RBE services. This cache implementation used Caffeine's Soft Values cache which should be used with predictable maximum cache size. Set the default cache size to 1000 instead of unlimited(0). Adjust doc to note that default might not be the most optimal value. Closes bazelbuild#14959. PiperOrigin-RevId: 432917086
- Loading branch information