Skip to content

Commit 934c694

Browse files
committed
correct bookkeeping for outstanding_incoming_connection_attempts
1 parent e74d185 commit 934c694

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

streamer/src/nonblocking/quic.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ async fn run_server(
421421
));
422422
}
423423
Err(err) => {
424+
stats
425+
.outstanding_incoming_connection_attempts
426+
.fetch_sub(1, Ordering::Relaxed);
424427
debug!("Incoming::accept(): error {:?}", err);
425428
}
426429
}

0 commit comments

Comments
 (0)