Skip to content

Commit

Permalink
turn off rate limiting to debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs committed Apr 22, 2024
1 parent f5e091c commit e7cba76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamer/src/nonblocking/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ async fn run_server(
if let Ok(Some(connection)) = timeout_connection {
let remote_address = connection.remote_address();

let do_rate_limiting = true;
let do_rate_limiting = false;
// first check overall connection rate limit:
if do_rate_limiting && !overall_connection_rate_limiter.check(&remote_address.ip()) {
stats.connection_throttled.fetch_add(1, Ordering::Relaxed);
Expand Down

0 comments on commit e7cba76

Please sign in to comment.