bumps up crds-shards-bits (#23220) (#23412)

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.

(cherry picked from commit 1282277126)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
This commit is contained in:
mergify[bot]
2022-03-01 18:20:26 +00:00
committed by GitHub
parent db9826c93f
commit 0e6a849fc7

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.
const VOTE_SLOTS_METRICS_CAP: usize = 100;