Always keep connections for the sites

This commit is contained in:
shortcutme 2016-08-26 11:41:45 +02:00
parent 4d4219409a
commit 1557d3c390

View file

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