From c407224547522062a8b4ad89c30fc3dcdcca81fc Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Fri, 7 Feb 2025 12:35:23 -0800 Subject: [PATCH] adjust tpu coalesce channel size to 250K --- streamer/src/quic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamer/src/quic.rs b/streamer/src/quic.rs index df2693edc5478d..95ad1344aef912 100644 --- a/streamer/src/quic.rs +++ b/streamer/src/quic.rs @@ -68,7 +68,7 @@ pub struct SpawnServerResult { } /// Controls the the channel size for the PacketBatch coalesce -pub(crate) const DEFAULT_MAX_COALESCE_CHANNEL_SIZE: usize = 1_000_000; +pub(crate) const DEFAULT_MAX_COALESCE_CHANNEL_SIZE: usize = 250_000; /// Returns default server configuration along with its PEM certificate chain. #[allow(clippy::field_reassign_with_default)] // https://github.com/rust-lang/rust-clippy/issues/6527