From c5398a51e853af66d73df9fee0b479198e5f36ec Mon Sep 17 00:00:00 2001 From: lubeilin <1791778603@qq.com> Date: Mon, 31 Jul 2023 23:20:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B7=AF=E7=94=B1=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/src/channel/channel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnt/src/channel/channel.rs b/vnt/src/channel/channel.rs index cd0b5003..6e2094d0 100644 --- a/vnt/src/channel/channel.rs +++ b/vnt/src/channel/channel.rs @@ -134,7 +134,7 @@ impl Context { if !route.is_p2p() { if let Some(time) = self.inner.route_table_time.get(&(route.route_key(), *id)) { //借道传输时,长时间不通信的通道不使用 - if time.value().load().elapsed() > Duration::from_secs(3) { + if time.value().load().elapsed() > Duration::from_secs(6) { return Err(io::Error::new(io::ErrorKind::NotFound, "route time out")); } }