summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2022-05-11 16:20:40 +0100
committerEmīls <emils@mullvad.net>2022-05-11 16:20:40 +0100
commitb47084be5bf38713d4016e138f5c513343c25d63 (patch)
tree42ce4cf55d09a78a2b2748b4c3815a1bc9c2048b
parentff21733f08ccf38a54ddc2fe0644507eb4350a79 (diff)
parentaaad034678c662ce01cdb6bea5a20bc0d8f441e8 (diff)
downloadmullvadvpn-b47084be5bf38713d4016e138f5c513343c25d63.tar.xz
mullvadvpn-b47084be5bf38713d4016e138f5c513343c25d63.zip
Merge branch 'validate-wg-device-more-often'
-rw-r--r--mullvad-daemon/src/device/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/device/mod.rs b/mullvad-daemon/src/device/mod.rs
index 15c363b0bc..3ab8c97dee 100644
--- a/mullvad-daemon/src/device/mod.rs
+++ b/mullvad-daemon/src/device/mod.rs
@@ -41,7 +41,7 @@ const LOGOUT_TIMEOUT: Duration = Duration::from_secs(2);
/// Validate the current device once for every `WG_DEVICE_CHECK_THRESHOLD` failed attempts
/// to set up a WireGuard tunnel.
-const WG_DEVICE_CHECK_THRESHOLD: usize = 3;
+const WG_DEVICE_CHECK_THRESHOLD: usize = 2;
#[derive(err_derive::Error, Debug)]
pub enum Error {