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:
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user