Skip to content

Commit

Permalink
Remove duplicate stat count for retransmissions (#4756)
Browse files Browse the repository at this point in the history
  • Loading branch information
octol authored Aug 9, 2024
1 parent 1e01a8e commit 3f6de8b
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,13 +474,6 @@ where
Poll::Ready(Some((real_messages, conn_id))) => {
log::trace!("handling real_messages: size: {}", real_messages.len());

// This is the last step in the pipeline where we know the type of the message, so
// lets count the number of retransmissions here.
if conn_id == TransmissionLane::Retransmission {
self.stats_tx
.report(PacketStatisticsEvent::RetransmissionQueued);
}

// First store what we got for the given connection id
self.transmission_buffer.store(&conn_id, real_messages);
let real_next = self.pop_next_message().expect("we just added one");
Expand Down

0 comments on commit 3f6de8b

Please sign in to comment.