MCPcopy Create free account
hub / github.com/erans/pgsqlite / remove

Method remove

src/session/thread_local_cache.rs:38–42  ·  view source on GitHub ↗
(session_id: &Uuid)

Source from the content-addressed store, hash-verified

36 /// Remove a connection from the thread-local cache
37 #[inline(always)]
38 pub fn remove(session_id: &Uuid) {
39 CONNECTION_CACHE.with(|cache| {
40 cache.borrow_mut().pop(session_id);
41 })
42 }
43
44 /// Clear all cached connections for this thread
45 pub fn clear() {

Callers 5

create_portalMethod · 0.45
close_portalMethod · 0.45
cleanup_stale_portalsMethod · 0.45
remove_connectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected