SNAPSHOT_MAX

Constant SNAPSHOT_MAX 

Source
pub const SNAPSHOT_MAX: usize = 1792;
Expand description

Largest encoded snapshot the session produces (see Session::encode_snapshot); sized for every table at capacity with headroom for future properties.

The option framing costs roughly two octets per table entry over the retired positional format, which the ~1.55 KB worst case here already includes (snapshot_at_capacity_fits_the_buffer pins it). It must stay within umsh_journal_store::proto::MAX_PAYLOAD.