Skip to main content

DOC_SIZE_WARN_BYTES

Constant DOC_SIZE_WARN_BYTES 

Source
pub const DOC_SIZE_WARN_BYTES: usize = _ /* 786_432usize */;
Expand description

Size at which a document starts warning, 768 KiB (75% of the cap).

The warning exists so an application hears about growth while it can still act (archive, split, prune). A cap with no approach signal turns into a cliff the app meets for the first time in production.