MCPcopy 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

Tested by

no test coverage detected