MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / _trigger_connectivity_loss

Method _trigger_connectivity_loss

asyncpg/_testbase/fuzzer.py:133–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 self.loop.call_soon_threadsafe(self._trigger_connectivity_loss)
132
133 def _trigger_connectivity_loss(self):
134 self.connectivity.clear()
135 self.connectivity_loss.set()
136
137 def restore_connectivity(self):
138 self.loop.call_soon_threadsafe(self._restore_connectivity)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected