Longer timeouts in tor always mode
This commit is contained in:
parent
0ae14f673c
commit
3013ee083d
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class ConnectionServer(object):
|
|||
last_message_time = 0
|
||||
s = time.time()
|
||||
for connection in self.connections[:]: # Make a copy
|
||||
if connection.ip.endswith(".onion"):
|
||||
if connection.ip.endswith(".onion") or config.tor == "always":
|
||||
timeout_multipler = 2
|
||||
else:
|
||||
timeout_multipler = 1
|
||||
|
|
Loading…
Reference in a new issue