Skip to content

Commit

Permalink
Addressed a feedback from Pankaj
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs committed Apr 29, 2024
1 parent 56f9211 commit c4e7475
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions streamer/src/nonblocking/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,6 @@ async fn handle_connection(
stream_counter.stream_count.load(Ordering::Relaxed);

if streams_read_in_throttle_interval >= max_streams_per_throttling_interval {
stats.throttled_streams.fetch_add(1, Ordering::Relaxed);

// The peer is sending faster than we're willing to read. Sleep for what's
// left of this read interval so the peer backs off.
let throttle_duration = STREAM_THROTTLING_INTERVAL
Expand Down

0 comments on commit c4e7475

Please sign in to comment.