diff --git a/streamer/src/nonblocking/quic.rs b/streamer/src/nonblocking/quic.rs index 0a5b0ef3fe6c03..3485e4fe585d06 100644 --- a/streamer/src/nonblocking/quic.rs +++ b/streamer/src/nonblocking/quic.rs @@ -715,7 +715,7 @@ async fn packet_batch_sender( } fn track_streamer_fetch_packet_performance( - packet_perf_measure: &mut Vec<([u8; 64], Instant)>, + packet_perf_measure: &mut [([u8; 64], Instant)], stats: &Arc, ) { if packet_perf_measure.is_empty() {