Skip to content

Commit

Permalink
Bugfix: VoteProcessingTiming reset both counters (#26843)
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge authored Jul 29, 2022
1 parent 69b5dd9 commit fbfcc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/cluster_info_vote_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const VOTE_PROCESSING_REPORT_INTERVAL_MS: u64 = 1_000;

impl VoteProcessingTiming {
fn reset(&mut self) {
self.gossip_slot_confirming_time_us = 0;
self.gossip_txn_processing_time_us = 0;
self.gossip_slot_confirming_time_us = 0;
}

Expand Down

0 comments on commit fbfcc3f

Please sign in to comment.