Fix closing inbound connections if sendoutgoingconnections is False

This commit is contained in:
Lee Miller 2023-08-07 01:40:03 +03:00
parent 4752bd4f43
commit 8e46aecfb0
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -334,7 +334,7 @@ class BMConnectionPool(object):
self._lastSpawned = time.time()
else:
for i in self.connections():
for i in self.outboundConnections.values():
# FIXME: rating will be increased after next connection
i.handle_close()