Skip to content

Commit

Permalink
Revert "more shards"
Browse files Browse the repository at this point in the history
This reverts commit 87aac56.
  • Loading branch information
sokra committed Oct 18, 2024
1 parent 7c3b12d commit f22389d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ where
{
pub fn new() -> Self {
let shard_amount =
(available_parallelism().map_or(4, |v| v.get()) * 256).next_power_of_two();
(available_parallelism().map_or(4, |v| v.get()) * 64).next_power_of_two();
Self {
map: DashMap::with_capacity_and_hasher_and_shard_amount(
1024 * 1024,
Expand Down

0 comments on commit f22389d

Please sign in to comment.