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:
parent
4014fc1454
commit
04450eacda
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user