2023-11-28 19:20:12 +00:00
|
|
|
use std::time::Duration;
|
|
|
|
|
2023-11-23 02:36:14 +00:00
|
|
|
pub const DEFAULT_PORT: u16 = 4419;
|
2023-11-28 19:20:12 +00:00
|
|
|
pub const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5);
|
|
|
|
pub const HEARTBEAT_TIMEOUT: Duration = Duration::from_secs(15);
|
2023-11-29 00:03:04 +00:00
|
|
|
|
|
|
|
pub const WEBSOCKET_RETRY_TIMEOUT: Duration = Duration::from_secs(5);
|
2023-12-07 03:30:33 +00:00
|
|
|
pub const RELAYS_RETRY_TIMEOUT: Duration = Duration::from_secs(5);
|
2024-04-26 14:15:24 +00:00
|
|
|
|
|
|
|
pub const RELAY_PULSE_DURATION: u64 = 3;
|