MCPcopy
hub / github.com/MagicStack/asyncpg / _trigger_connectivity_loss

Method _trigger_connectivity_loss

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

Source from the content-addressed store, hash-verified

127 self.loop.call_soon_threadsafe(self._trigger_connectivity_loss)
128
129 def _trigger_connectivity_loss(self):
130 self.connectivity.clear()
131 self.connectivity_loss.set()
132
133 def restore_connectivity(self):
134 self.loop.call_soon_threadsafe(self._restore_connectivity)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected