Skip to main content

COMPACT_MAX_COMMITS

Constant COMPACT_MAX_COMMITS 

Source
pub const COMPACT_MAX_COMMITS: u32 = 1024;
Expand description

Compact after this many commits regardless of byte ratios, 1024.

Caps replay work after a crash. The ratio rule alone can idle for a very long time on a document whose commits are tiny.