diff options
author | Himbeer <himbeer@disroot.org> | 2024-08-09 15:13:10 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-08-09 15:13:10 +0200 |
commit | 676655a4f1f868a93b0a005a3f1a27faea9d2af2 (patch) | |
tree | 33cec6d3adf4d0a373f97083a8244a142976589e | |
parent | fcb1981c2f62d29acda35aa31852103db108bc24 (diff) |
Lower BACKOFF to safe 30 seconds
30 minutes is too much because it can prevent other events from being processed in real-time. Also DNS resolutions should only be attempted if the DHCPv6 client reports a healthy connection, so this program shouldn't have to wait for the connection to be initialized properly.
-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 81962c7..5d0c8b1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,7 @@ use sysinfo::{ProcessExt, Signal, System, SystemExt}; use thiserror::Error; const MAX_ATTEMPTS: usize = 3; -const BACKOFF: u64 = 900; +const BACKOFF: u64 = 30; #[derive(Debug, Error)] pub enum Error { |