We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf7b1b commit b536544Copy full SHA for b536544
neo4j/v1/direct.py
@@ -62,7 +62,7 @@ def __init__(self, uri, **config):
62
self.security_plan = security_plan = SecurityPlan.build(**config)
63
self.encrypted = security_plan.encrypted
64
pool = DirectConnectionPool(lambda a: connect(a, security_plan.ssl_context, **config), self.address)
65
- pool.acquire()
+ pool.release(pool.acquire())
66
Driver.__init__(self, pool, **config)
67
68
def session(self, access_mode=None, **parameters):
0 commit comments