From 85ad7ed3ed64e75b3eae60db82f65460ac7017b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Wed, 14 Aug 2013 11:16:15 -0300 Subject: Make POLL_TIME bigger in VPNManager --- src/leap/bitmask/services/eip/vpnprocess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/leap') diff --git a/src/leap/bitmask/services/eip/vpnprocess.py b/src/leap/bitmask/services/eip/vpnprocess.py index 497df188..95ea2334 100644 --- a/src/leap/bitmask/services/eip/vpnprocess.py +++ b/src/leap/bitmask/services/eip/vpnprocess.py @@ -31,6 +31,7 @@ from leap.bitmask.services.eip.vpnlaunchers import get_platform_launcher from leap.bitmask.services.eip.eipconfig import EIPConfig from leap.bitmask.services.eip.udstelnet import UDSTelnet from leap.bitmask.util import first +from leap.bitmask.platform_init import IS_MAC from leap.common.check import leap_assert, leap_assert_type logger = logging.getLogger(__name__) @@ -228,7 +229,7 @@ class VPNManager(object): """ # Timers, in secs - POLL_TIME = 0.5 + POLL_TIME = 2.5 if IS_MAC else 1.0 CONNECTION_RETRY_TIME = 1 TS_KEY = "ts" -- cgit v1.2.3