mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 18:52:58 -03:00
Increase Tor connection timeout to 30 seconds
This commit is contained in:
parent
ffc2e23981
commit
6200cb3b08
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue