From 04450eacda09e717e3585b79c05d6d0b26da4c9c Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 9 Mar 2021 17:13:11 +0100 Subject: [PATCH] Double timeout for client connection --- src/controllers/user_ws_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/user_ws_controller.rs b/src/controllers/user_ws_controller.rs index 2c77a6d..a80d002 100644 --- a/src/controllers/user_ws_controller.rs +++ b/src/controllers/user_ws_controller.rs @@ -33,7 +33,7 @@ use crate::utils::date_utils::time; const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5); /// How long before lack of client response causes a timeout -const CLIENT_TIMEOUT: Duration = Duration::from_secs(10); +const CLIENT_TIMEOUT: Duration = Duration::from_secs(20); /// WebSocket access tokens list mod ws_tokens_list {