common/emgauwa-lib/src/constants.rs

8 lines
263 B
Rust
Raw Normal View History

use std::time::Duration;
2023-11-23 02:36:14 +00:00
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);