diff options
author | Himbeer <himbeer@disroot.org> | 2025-03-24 13:49:15 +0100 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2025-03-24 13:49:15 +0100 |
commit | 016f6041a3afa3ff4187dd22126f9da16c2d14e4 (patch) | |
tree | f8e8f4e6aaab537b85d947dd6a996763d40e291a | |
parent | 4f78f9c42ca5dcc3741e2f63e75ab93c4fd55c39 (diff) |
Slow monitoring interval to 10 minutes
This should eliminate some unnecessary traffic while still allowing
long-term connectivity issues to be detected within close to one hour.
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 9f69ab3..f08e8a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,7 +30,7 @@ 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 MONITOR_INTERVAL: Duration = Duration::from_secs(300); +const MONITOR_INTERVAL: Duration = Duration::from_secs(600); const MONITOR_TIMEOUT: Duration = Duration::from_secs(3600); const TCP_TIMEOUT: Duration = Duration::from_secs(8); const POLL_INTERVAL: Duration = Duration::from_millis(500); |