Skip to content

Commit

Permalink
Reduce DEFAULT_MAX_COALESCE_CHANNEL_SIZE to 1M as it offers similar p…
Browse files Browse the repository at this point in the history
…erformance (#4610)

Reduce DEFAULT_MAX_COALESCE_CHANNEL_SIZE to 1M as it offers adequate perf
  • Loading branch information
lijunwangs authored Jan 24, 2025
1 parent fa62025 commit 0b82973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamer/src/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 10_000_000;
pub(crate) const DEFAULT_MAX_COALESCE_CHANNEL_SIZE: usize = 1_000_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
Expand Down

0 comments on commit 0b82973

Please sign in to comment.