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

Function compact_all

nodedb/tests/bitemporal_array_retention.rs:78–84  ·  view source on GitHub ↗
(e: &mut ArrayEngine, audit_retain_ms: Option<i64>, now_ms: i64)

Source from the content-addressed store, hash-verified

76}
77
78fn compact_all(e: &mut ArrayEngine, audit_retain_ms: Option<i64>, now_ms: i64) {
79 loop {
80 if !e.maybe_compact(&aid(), audit_retain_ms, now_ms).unwrap() {
81 break;
82 }
83 }
84}
85
86fn ceiling_at(
87 e: &ArrayEngine,

Calls 2

maybe_compactMethod · 0.80
aidFunction · 0.70

Tested by

no test coverage detected