mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-14 13:41:25 -05:00
Increase Tor connection timeout to 30 seconds
This commit is contained in:
parent
94cf86c3b4
commit
9f9b609902
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user