Skip to main content

snapshot_due

Function snapshot_due 

Source
pub fn snapshot_due(journal_bytes: u64, snapshot_bytes: u64) -> bool
Expand description

Snapshot threshold: journal bytes ≥ max(256 KiB, snapshot / 4).