1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00

Double timeout for client connection

This commit is contained in:
Pierre HUBERT 2021-03-09 17:13:11 +01:00
parent 4014fc1454
commit 04450eacda

View File

@ -33,7 +33,7 @@ use crate::utils::date_utils::time;
const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5); const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5);
/// How long before lack of client response causes a timeout /// 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 /// WebSocket access tokens list
mod ws_tokens_list { mod ws_tokens_list {