Skip to content

Commit

Permalink
fix: revert default value for trie cache capacity (#7101)
Browse files Browse the repository at this point in the history
Revert default value (to 50K) because after #7022 we got more evidence that it doesn't help to speed up storage ops.

## Testing

Existing tests.
  • Loading branch information
Longarithm authored Jun 24, 2022
1 parent 000fba1 commit 15d1c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/store/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl Default for StoreConfig {
// we use it since then.
block_size: bytesize::ByteSize::kib(16),

trie_cache_capacities: vec![(ShardUId { version: 1, shard_id: 3 }, 2_000_000)],
trie_cache_capacities: Default::default(),
}
}
}
Expand Down

0 comments on commit 15d1c16

Please sign in to comment.