Skip to content

Commit

Permalink
consensus: enable tcp_nodelay for consensus's network interface (#20840)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill authored Jan 9, 2025
1 parent a78dc2d commit 58399e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/core/src/network/tonic_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ impl<S: NetworkService> NetworkManager<S> 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))
Expand Down

0 comments on commit 58399e8

Please sign in to comment.