Fix closing inbound connections if sendoutgoingconnections is False
This commit is contained in:
parent
4752bd4f43
commit
8e46aecfb0
|
@ -334,7 +334,7 @@ class BMConnectionPool(object):
|
||||||
|
|
||||||
self._lastSpawned = time.time()
|
self._lastSpawned = time.time()
|
||||||
else:
|
else:
|
||||||
for i in self.connections():
|
for i in self.outboundConnections.values():
|
||||||
# FIXME: rating will be increased after next connection
|
# FIXME: rating will be increased after next connection
|
||||||
i.handle_close()
|
i.handle_close()
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user