MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / run_purge

Function run_purge

nodedb/src/engine/array/purge/execute.rs:342–350  ·  view source on GitHub ↗
(e: &mut ArrayEngine, horizon_ms: i64)

Source from the content-addressed store, hash-verified

340 }
341
342 fn run_purge(e: &mut ArrayEngine, horizon_ms: i64) -> u64 {
343 let schema = test_schema();
344 let plan = {
345 let store = e.store(&test_aid()).unwrap();
346 super::super::plan::plan(store, horizon_ms, &schema).unwrap()
347 };
348 let store = e.store_mut(&test_aid()).unwrap();
349 super::execute(store, plan).unwrap()
350 }
351
352 #[test]
353 fn execute_rewrites_segment_dropping_tiles() {

Calls 6

store_mutMethod · 0.80
test_schemaFunction · 0.70
test_aidFunction · 0.70
planFunction · 0.70
executeFunction · 0.70
storeMethod · 0.45