controller/emgauwa-lib/src/constants.rs

6 lines
192 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);