diff --git a/src/network/connectionpool.py b/src/network/connectionpool.py index 4781adf0..8d46580a 100644 --- a/src/network/connectionpool.py +++ b/src/network/connectionpool.py @@ -290,7 +290,7 @@ class BMConnectionPool(object): pending = len(self.outboundConnections) - established_num excess = established_num - BMConfigParser().safeGetInt( 'bitmessagesettings', 'maxoutboundconnections') - if excess > 0: + if excess >= 0: for _ in range(excess): established.pop().handle_close() else: