Skip to content

Commit c0ef443

Browse files
committed
Addressed a feedback from Pankaj
1 parent 2441a41 commit c0ef443

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

streamer/src/nonblocking/quic.rs

-2
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,6 @@ async fn handle_connection(
816816
stream_counter.stream_count.load(Ordering::Relaxed);
817817

818818
if streams_read_in_throttle_interval >= max_streams_per_throttling_interval {
819-
stats.throttled_streams.fetch_add(1, Ordering::Relaxed);
820-
821819
// The peer is sending faster than we're willing to read. Sleep for what's
822820
// left of this read interval so the peer backs off.
823821
let throttle_duration = STREAM_THROTTLING_INTERVAL

0 commit comments

Comments
 (0)