From fde33380bef00d70ae38cc9bac343efcd8b901c4 Mon Sep 17 00:00:00 2001 From: lubeilin <1791778603@qq.com> Date: Thu, 18 Sep 2025 18:27:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B6=85=E6=97=B6=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnt/src/core/conn.rs | 2 +- vnt/src/handle/maintain/idle.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vnt/src/core/conn.rs b/vnt/src/core/conn.rs index dfad263..22cc3f6 100644 --- a/vnt/src/core/conn.rs +++ b/vnt/src/core/conn.rs @@ -313,7 +313,7 @@ impl VntInner { let client_cipher = client_cipher.clone(); let server_cipher = server_cipher.clone(); //延迟启动 - scheduler.timeout(Duration::from_secs(3), move |scheduler| { + scheduler.timeout(Duration::from_secs(1), move |scheduler| { start( scheduler, context, diff --git a/vnt/src/handle/maintain/idle.rs b/vnt/src/handle/maintain/idle.rs index f36a26a..0e4edcd 100644 --- a/vnt/src/handle/maintain/idle.rs +++ b/vnt/src/handle/maintain/idle.rs @@ -50,7 +50,7 @@ pub fn idle_gateway( &mut connect_count, &handshake, ); - let rs = scheduler.timeout(Duration::from_secs(5), move |s| { + let rs = scheduler.timeout(Duration::from_secs(8), move |s| { idle_gateway( s, context,