Add log-init-function and websocket retry
This commit is contained in:
parent
6536ff0792
commit
50bcac2a1b
12 changed files with 73 additions and 69 deletions
emgauwa-lib/src
|
@ -3,3 +3,5 @@ use std::time::Duration;
|
|||
pub const DEFAULT_PORT: u16 = 4419;
|
||||
pub const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5);
|
||||
pub const HEARTBEAT_TIMEOUT: Duration = Duration::from_secs(15);
|
||||
|
||||
pub const WEBSOCKET_RETRY_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue