Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ kill_connectivity
Method
kill_connectivity
tests/test_adversity.py:95–96 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
93
await con.fetch(
'SELECT pg_sleep($1)'
, query_runtime)
94
95
def
kill_connectivity():
96
self.proxy.trigger_connectivity_loss()
97
98
new_pool = self.create_pool(
99
database=
'postgres'
,
Callers
nothing calls this directly
Calls
1
trigger_connectivity_loss
Method · 0.80
Tested by
no test coverage detected