Skip to content

Commit

Permalink
Run device check on every third attempt instead of every other
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Dec 12, 2023
1 parent 9a4424d commit 0fc6b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mullvad-daemon/src/device/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const LOGOUT_TIMEOUT: Duration = Duration::from_secs(2);

/// Validate the current device once for every `WG_DEVICE_CHECK_THRESHOLD` attempt to set up
/// a WireGuard tunnel.
const WG_DEVICE_CHECK_THRESHOLD: usize = 2;
const WG_DEVICE_CHECK_THRESHOLD: usize = 3;

#[derive(err_derive::Error, Debug, Clone)]
pub enum Error {
Expand Down

0 comments on commit 0fc6b4d

Please sign in to comment.