Skip to main content

compaction_runtime_default

Function compaction_runtime_default 

Source
pub fn compaction_runtime_default() -> HyperFileRuntimeConfig
Expand description

The runtime configuration a compaction uses when the caller gives none.

Partials of 64 MiB: large enough that a compacted range reads in few requests, small enough to bound what a pass holds. The flush interval is an hour so that partials are cut by size rather than by how long the reads took.