summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-15 12:02:08 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-15 12:02:08 -0300
commit3a0950e936dbe20a22f5809c46406d3a6b9ceffa (patch)
treecaf2c805c25c4564a7d5f75d2d66c3ee8517e233 /src/leap/bitmask
parent1a105a07daa2c32243fb67bbacfc511d6014691e (diff)
Add an explicit comment about why we are using different poll_times
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/services/eip/vpnprocess.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/eip/vpnprocess.py b/src/leap/bitmask/services/eip/vpnprocess.py
index a96f176e..a896b60c 100644
--- a/src/leap/bitmask/services/eip/vpnprocess.py
+++ b/src/leap/bitmask/services/eip/vpnprocess.py
@@ -229,6 +229,9 @@ class VPNManager(object):
"""
# Timers, in secs
+ # NOTE: We need to set a bigger poll time in OSX because it seems
+ # openvpn malfunctions when you ask it a lot of things in a short
+ # amount of time.
POLL_TIME = 2.5 if IS_MAC else 1.0
CONNECTION_RETRY_TIME = 1