diff options
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | talpid-core/src/process/openvpn.rs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e63839a195..4ee8434453 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,8 @@ Line wrap the file at 100 chars. Th the app is connected to. Or nothing if not connected anywhere. - Passing `--connect-timeout 30` to `openvpn` to decrease the time the daemon will wait until it tries to reconnect again in the case of a broken TCP connection. +- Increase timeout parameter to OpenVPN from 15 to 20 seconds. Should make active VPN tunnels drop + less frequent when on unstable networks. #### Linux - Moved CLI binary to `/usr/bin/` as to have the CLI binary in the user's `$PATH` by default. diff --git a/talpid-core/src/process/openvpn.rs b/talpid-core/src/process/openvpn.rs index dad14f6673..e25e2bf652 100644 --- a/talpid-core/src/process/openvpn.rs +++ b/talpid-core/src/process/openvpn.rs @@ -20,8 +20,8 @@ static BASE_ARGUMENTS: &[&[&str]] = &[ &["--dev", "tun"], #[cfg(windows)] &["--dev-type", "tun"], - &["--ping", "3"], - &["--ping-exit", "15"], + &["--ping", "4"], + &["--ping-exit", "20"], &["--connect-timeout", "30"], &["--connect-retry", "0", "0"], &["--connect-retry-max", "1"], |
