diff options
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | talpid-core/src/tunnel/wireguard/mod.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c494003714..ea3d4af60e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Line wrap the file at 100 chars. Th ### Changed - Increase OpenVPN ping timeout from 20 to 25 seconds. Might make working tunnels disconnect a bit less frequently. +- Increase WireGuard ping timeout from 7 to 15 seconds. #### Linux - DNS management with static `/etc/resolv.conf` will now work even when no diff --git a/talpid-core/src/tunnel/wireguard/mod.rs b/talpid-core/src/tunnel/wireguard/mod.rs index a2c632d36f..9b84a83cf0 100644 --- a/talpid-core/src/tunnel/wireguard/mod.rs +++ b/talpid-core/src/tunnel/wireguard/mod.rs @@ -14,7 +14,7 @@ pub mod wireguard_go; pub use self::wireguard_go::WgGoTunnel; // amount of seconds to run `ping` until it returns. -const PING_TIMEOUT: u16 = 7; +const PING_TIMEOUT: u16 = 15; pub type Result<T> = std::result::Result<T, Error>; |
