Преглед изворни кода

lilith: Increase outbound connection timeout to 30s

parazyd пре 3 година
родитељ
комит
613be6e395
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      bin/lilith/src/main.rs

+ 1 - 0
bin/lilith/src/main.rs

@@ -378,6 +378,7 @@ async fn spawn_net(
         seeds: info.seeds.clone(),
         peers: info.peers.clone(),
         outbound_connections: 0,
+        outbound_connect_timeout: 30,
         app_version: info.version.clone(),
         localnet: info.localnet,
         allowed_transports: vec![