Always keep connections for the sites
This commit is contained in:
parent
4d4219409a
commit
1557d3c390
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue