diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-24 01:58:18 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-30 16:18:08 -0400 |
commit | 26e2727d48b47a3d7328f43fe5495d4bfee620c0 (patch) | |
tree | 295d3f1bf3cb3122a5852cea7a4468c70c58e73c /src | |
parent | c370c160d56ebca9ebb8092c00798c99f994f11f (diff) |
[docs] document restarts a bit better
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/bitmask/vpn/tunnel.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py index 7c2274a0..7b53d9e9 100644 --- a/src/leap/bitmask/vpn/tunnel.py +++ b/src/leap/bitmask/vpn/tunnel.py @@ -30,13 +30,10 @@ from .constants import IS_WIN from .process import VPNProcess -# TODO ----------------- refactor -------------------- -# [ ] catch ping-restart -# 'NETWORK_UNREACHABLE': ( -# 'Network is unreachable (code=101)',), -# 'PROCESS_RESTART_TLS': ( -# "SIGTERM[soft,tls-error]",), -# TODO ----------------- refactor -------------------- +# The restarts are not really needed, since we're configuring +# openvpn to restart itself after a period of inactivity. However, if the +# openvpn process is killed by whatever reason, # we'll automatically try to +# restart the process. RESTART_WAIT = 2 # in secs |