Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ release_conn
Method
release_conn
test/test_pooling.py:127–132 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
125
self.state =
"connection"
126
127
def
release_conn(self):
128
if
self.sock:
129
self.sock.unpin()
130
self.sock = None
131
return
True
132
return
False
133
134
135
def
run_cases(client, cases):
Callers
3
test_no_wait_queue_timeout
Method · 0.95
test_checkout_more_than_max_pool_size
Method · 0.95
test_pool_backpressure_preserves_existing_connections
Method · 0.95
Calls
1
unpin
Method · 0.45
Tested by
no test coverage detected