mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-02 11:26:16 -04: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
|
break
|
||||||
time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
|
|
||||||
# Timeout after 10 seconds
|
# Timeout after 30 seconds
|
||||||
if time.time() - start_ts > 10:
|
if time.time() - start_ts > 30:
|
||||||
print("")
|
print("")
|
||||||
self.tor_proc.terminate()
|
self.tor_proc.terminate()
|
||||||
raise BundledTorTimeout(strings._('settings_error_bundled_tor_timeout'))
|
raise BundledTorTimeout(strings._('settings_error_bundled_tor_timeout'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue