aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2025-03-27 14:18:10 +0100
committerHimbeer <himbeer@disroot.org>2025-03-27 14:18:10 +0100
commitba42ab1660ba59234ea2bf4bd57451ab1e88699d (patch)
tree027a0e19a7cb822cb9528e1934624019d84cfe38
parentdcbcecf25731c5f382587b16d0ccfb0f8a262c2f (diff)
Increase post-update check timeout to 10 minutesHEADmain
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.
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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);