We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96fcb55 commit 8c904bbCopy full SHA for 8c904bb
neo4j/v1/routing.py
@@ -276,9 +276,9 @@ def remove(self, address):
276
""" Remove an address from the connection pool, if present, closing
277
all connections to that address. Also remove from the routing table.
278
"""
279
- super(RoutingConnectionPool, self).remove(address)
280
# We use `discard` instead of `remove` here since the former
281
# will not fail if the address has already been removed.
282
self.routing_table.routers.discard(address)
283
self.routing_table.readers.discard(address)
284
self.routing_table.writers.discard(address)
+ super(RoutingConnectionPool, self).remove(address)
0 commit comments