From 58399e875f8ac7bd0b6d23104ab2fd8f4428f518 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Thu, 9 Jan 2025 14:31:56 -0600 Subject: [PATCH] consensus: enable tcp_nodelay for consensus's network interface (#20840) --- consensus/core/src/network/tonic_network.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/core/src/network/tonic_network.rs b/consensus/core/src/network/tonic_network.rs index baf6a5ad51239..3f3403c26b896 100644 --- a/consensus/core/src/network/tonic_network.rs +++ b/consensus/core/src/network/tonic_network.rs @@ -776,6 +776,7 @@ impl NetworkManager for TonicManager { } let http_config = sui_http::Config::default() + .tcp_nodelay(true) .initial_connection_window_size(64 << 20) .initial_stream_window_size(32 << 20) .http2_keepalive_interval(Some(config.keepalive_interval))