mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-11 04:02:40 -03:00
Merge branch 'Increasing-the-timeout' of https://github.com/Baccount/onionshare into Baccount-Increasing-the-timeout
This commit is contained in:
commit
5e98a9c283
1 changed files with 2 additions and 2 deletions
|
@ -254,8 +254,8 @@ class Onion(object):
|
||||||
break
|
break
|
||||||
time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
|
|
||||||
# Timeout after 45 seconds
|
# Timeout after 90 seconds
|
||||||
if time.time() - start_ts > 45:
|
if time.time() - start_ts > 90:
|
||||||
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…
Reference in a new issue