diff options
author | Himbeer <himbeer@disroot.org> | 2024-07-22 14:32:46 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-07-22 14:32:46 +0200 |
commit | b78e6c11cad8a9235f2d2c98a94622536f4d4d8e (patch) | |
tree | a01f01c3f6defcc2eb021591718fcb4f773b6c4f | |
parent | 1a5e67b3a9c24aea256aad30fbe28d7f9b676991 (diff) |
Raise upstream timeout to 3 seconds (better for low-end hardware)
-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 f469666..c3f83e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,7 @@ use thiserror::Error; const UPSTREAM_PRIMARY: &str = "[2620:fe::fe]:53"; const UPSTREAM_SECONDARY: &str = "9.9.9.9:53"; -const UPSTREAM_TIMEOUT: Duration = Duration::from_secs(1); +const UPSTREAM_TIMEOUT: Duration = Duration::from_secs(3); #[derive(Debug, Error)] pub enum Error { |