diff --git a/src/monitor.rs b/src/monitor.rs index 6f569df..d643178 100644 --- a/src/monitor.rs +++ b/src/monitor.rs @@ -23,10 +23,10 @@ use crate::server::{Server, State}; const MONITOR_POLL_INTERVAL: Duration = Duration::from_secs(2); /// Status request timeout in seconds. -const STATUS_TIMEOUT: u64 = 8; +const STATUS_TIMEOUT: u64 = 20; /// Ping request timeout in seconds. -const PING_TIMEOUT: u64 = 10; +const PING_TIMEOUT: u64 = 20; /// Monitor server. pub async fn monitor_server(config: Arc, server: Arc) {