调整超时时间
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user