mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05:00
Update onion.py
This commit is contained in:
parent
5c390f1bd9
commit
c324cd55da
@ -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 New Issue
Block a user