From 3766b2b7c1b2902da76439efc46337fb94f7bef9 Mon Sep 17 00:00:00 2001 From: lubeilin <1791778603@qq.com> Date: Fri, 22 Sep 2023 22:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=91=BD=E4=BB=A4=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnt-cli/src/command/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnt-cli/src/command/client.rs b/vnt-cli/src/command/client.rs index 59a9545..23eb7ca 100644 --- a/vnt-cli/src/command/client.rs +++ b/vnt-cli/src/command/client.rs @@ -26,7 +26,7 @@ impl CommandClient { } }; let udp = UdpSocket::bind("127.0.0.1:0")?; - udp.set_read_timeout(Some(Duration::from_secs(2)))?; + udp.set_read_timeout(Some(Duration::from_secs(5)))?; udp.connect(SocketAddr::V4(SocketAddrV4::new( Ipv4Addr::new(127, 0, 0, 1), port,