Skip to content

Commit

Permalink
gossip: use an http keepalive to keep idle connections open
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed Jun 8, 2022
1 parent 6340fe8 commit 9d36266
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sui-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ impl SuiNode {
let mut net_config = mysten_network::config::Config::new();
net_config.connect_timeout = Some(Duration::from_secs(5));
net_config.request_timeout = Some(Duration::from_secs(5));
net_config.http2_keepalive_interval = Some(Duration::from_secs(5));

let mut authority_clients = BTreeMap::new();
for validator in genesis.validator_set() {
Expand Down

0 comments on commit 9d36266

Please sign in to comment.