Skip to content

Commit

Permalink
tracer-packet-stats reporting should not reset id (solana-labs#27012)
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge authored Aug 9, 2022
1 parent ad3e10f commit b6d38aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/tracer_packet_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ impl TracerPacketStats {
)
);

*self = Self::default();
let id = self.id;
*self = Self::new(id);
self.last_report = timestamp();
}
}
Expand Down

0 comments on commit b6d38aa

Please sign in to comment.