From 1557d3c39077ea38e172b24b2c844fbea23f7fe6 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Fri, 26 Aug 2016 11:41:45 +0200 Subject: [PATCH] Always keep connections for the sites --- src/File/FileServer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/File/FileServer.py b/src/File/FileServer.py index 92d16d62..9ca91d9f 100644 --- a/src/File/FileServer.py +++ b/src/File/FileServer.py @@ -220,9 +220,7 @@ class FileServer(ConnectionServer): site.cleanupPeers() - # In passive mode keep 5 active peer connection to get the updates - if self.port_opened is False: - site.needConnections() + site.needConnections() # Keep 5 active peer connection to get the updates time.sleep(2) # Prevent too quick request