Bump lru crate (#24151)
This commit is contained in:
@@ -18,7 +18,7 @@ flate2 = "1.0"
|
||||
indexmap = { version = "1.8", features = ["rayon"] }
|
||||
itertools = "0.10.3"
|
||||
log = "0.4.14"
|
||||
lru = "0.7.3"
|
||||
lru = "0.7.5"
|
||||
matches = "0.1.9"
|
||||
num-traits = "0.2"
|
||||
rand = "0.7.0"
|
||||
|
@@ -536,14 +536,7 @@ pub(crate) fn submit_gossip_stats(
|
||||
.pull
|
||||
.votes
|
||||
.into_iter()
|
||||
.map(|(slot, num_votes)| (*slot, *num_votes))
|
||||
.chain(
|
||||
crds_stats
|
||||
.push
|
||||
.votes
|
||||
.into_iter()
|
||||
.map(|(slot, num_votes)| (*slot, *num_votes)),
|
||||
)
|
||||
.chain(crds_stats.push.votes.into_iter())
|
||||
.into_grouping_map()
|
||||
.aggregate(|acc, _slot, num_votes| Some(acc.unwrap_or_default() + num_votes));
|
||||
submit_vote_stats("cluster_info_crds_stats_votes", &votes);
|
||||
|
Reference in New Issue
Block a user