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

Method _clear_entry_callback

asyncpg/connection.py:2606–2608  ·  view source on GitHub ↗
(self, entry)

Source from the content-addressed store, hash-verified

2604 self._on_remove(entry._statement)
2605
2606 def _clear_entry_callback(self, entry):
2607 if entry._cleanup_cb is not None:
2608 entry._cleanup_cb.cancel()
2609
2610 def _maybe_cleanup(self):
2611 # Delete cache entries until the size of the cache is `max_size`.

Callers 4

getMethod · 0.95
clearMethod · 0.95
_set_entry_timeoutMethod · 0.95
_maybe_cleanupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected