bumps up crds-shards-bits (#23220)

The commit adjust CRDS_SHARDS_BITS up to be in-line with mask_bits in
gossip pull request. This will avoid redundant filtering of irrelevant
crds entries when responding to pull requests.
This commit is contained in:
behzad nouri
2022-03-01 15:14:11 +00:00
committed by GitHub
parent 454e82683e
commit 1282277126

View File

@ -52,7 +52,7 @@ use {
}, },
}; };
const CRDS_SHARDS_BITS: u32 = 8; const CRDS_SHARDS_BITS: u32 = 12;
// Number of vote slots to track in an lru-cache for metrics. // Number of vote slots to track in an lru-cache for metrics.
const VOTE_SLOTS_METRICS_CAP: usize = 100; const VOTE_SLOTS_METRICS_CAP: usize = 100;