Skip to main content

DEFAULT_MAX_CHECKPOINT_BYTES

Constant DEFAULT_MAX_CHECKPOINT_BYTES 

Source
pub const DEFAULT_MAX_CHECKPOINT_BYTES: u64 = _; // 268_435_456u64
Expand description

Default cap on the size (in bytes) of a checkpoint file that load_checkpoint will deserialize (EV-48). Files larger than this, and individual length-prefixed fields larger than this, are rejected with a typed error rather than triggering an unbounded allocation.