From 3013ee083d52850a8fce4a12e033d463132ad6ab Mon Sep 17 00:00:00 2001 From: shortcutme Date: Thu, 31 May 2018 19:43:09 +0200 Subject: [PATCH] Longer timeouts in tor always mode --- src/Connection/ConnectionServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connection/ConnectionServer.py b/src/Connection/ConnectionServer.py index 573f41ab..044494c2 100644 --- a/src/Connection/ConnectionServer.py +++ b/src/Connection/ConnectionServer.py @@ -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