mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Make the Onion object poll the tor controller less frequently, now that the connection happens in a separate thread
This commit is contained in:
parent
388202e1ea
commit
852a6761ee
@ -229,7 +229,7 @@ class Onion(object):
|
|||||||
if summary == 'Done':
|
if summary == 'Done':
|
||||||
print("")
|
print("")
|
||||||
break
|
break
|
||||||
time.sleep(0.05)
|
time.sleep(0.2)
|
||||||
|
|
||||||
# Timeout after 45 seconds
|
# Timeout after 45 seconds
|
||||||
if time.time() - start_ts > 45:
|
if time.time() - start_ts > 45:
|
||||||
|
Loading…
Reference in New Issue
Block a user