Increase Tor connection timeout to 30 seconds

This commit is contained in:
Micah Lee 2017-04-14 10:32:15 -07:00
parent ffc2e23981
commit 6200cb3b08
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -197,8 +197,8 @@ class Onion(object):
break
time.sleep(0.2)
# Timeout after 10 seconds
if time.time() - start_ts > 10:
# Timeout after 30 seconds
if time.time() - start_ts > 30:
print("")
self.tor_proc.terminate()
raise BundledTorTimeout(strings._('settings_error_bundled_tor_timeout'))