Longer timeouts in tor always mode

This commit is contained in:
shortcutme 2018-05-31 19:43:09 +02:00
parent 0ae14f673c
commit 3013ee083d
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -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