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

Method cleanup

src/protocol/buffer_pool.rs:287–290  ·  view source on GitHub ↗

Force cleanup of old buffers

(&self)

Source from the content-addressed store, hash-verified

285
286 /// Force cleanup of old buffers
287 pub fn cleanup(&self) {
288 let mut inner = self.inner.lock();
289 self.cleanup_old_buffers(&mut inner);
290 }
291
292 /// Clear all buffers from the pool
293 pub fn clear(&self) {

Callers 1

test_buffer_cleanupFunction · 0.45

Calls 1

cleanup_old_buffersMethod · 0.80

Tested by 1

test_buffer_cleanupFunction · 0.36