فهرست منبع

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![