Rate limit counter metrics points to one per second (#5496)
* Rate limit counter metrics points to one per second * Remove old env var * Test that metrics counter is incrementing * Fix typo
This commit is contained in:
@ -1170,7 +1170,7 @@ impl ClusterInfo {
|
||||
stakes: &HashMap<Pubkey, u64>,
|
||||
) -> Vec<SharedBlob> {
|
||||
let self_id = me.read().unwrap().gossip.id;
|
||||
inc_new_high_rate_counter_debug!("cluster_info-push_message", 1);
|
||||
inc_new_counter_debug!("cluster_info-push_message", 1);
|
||||
|
||||
let updated: Vec<_> =
|
||||
me.write()
|
||||
|
Reference in New Issue
Block a user