调整超时时间

This commit is contained in:
lubeilin
2025-09-18 18:27:31 +08:00
parent eedb6684a5
commit fde33380be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -50,7 +50,7 @@ pub fn idle_gateway<Call: VntCallback>(
&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,