From ba42ab1660ba59234ea2bf4bd57451ab1e88699d Mon Sep 17 00:00:00 2001 From: Himbeer Date: Thu, 27 Mar 2025 14:18:10 +0100 Subject: Increase post-update check timeout to 10 minutes A 5 minute timeout may not be enough for dynamic DNS updates to propagate. This commit is intended to reduce the risk of false positives. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index ebe921f..3c0f65e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,7 +32,7 @@ const MAGIC: [u8; 4] = [0x32, 0x7f, 0xfe, 0x4c]; const RESP_OK: [u8; 5] = [0x32, 0x7f, 0xfe, 0x4c, 0x00]; const RESP_NORMAL: [u8; 5] = [0x32, 0x7f, 0xfe, 0x4c, 0x01]; const CHECK_INTERVAL: Duration = Duration::from_secs(30); -const CHECK_TIMEOUT: Duration = Duration::from_secs(300); +const CHECK_TIMEOUT: Duration = Duration::from_secs(600); const MONITOR_INTERVAL: Duration = Duration::from_secs(600); const MONITOR_TIMEOUT: Duration = Duration::from_secs(3600); const TCP_TIMEOUT: Duration = Duration::from_secs(8); -- cgit v1.2.3