mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-07 14:23:01 -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
226b608cff
commit
dec9b9ec68
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue