Skip to main content

MAX_PROVOKED_BATCH_BYTES

Constant MAX_PROVOKED_BATCH_BYTES 

Source
pub const MAX_PROVOKED_BATCH_BYTES: usize = _ /* 67_108_864usize */;
Expand description

The largest max_batch_bytes batch_over_the_limit will build a batch over: 64 MiB.

A ceiling because the batch is allocated whole, and the limit it is sized from is the peer’s own declaration — a value the suite does not control (H-13). 64 MiB is three orders of magnitude above the minimum conformant limit and well inside what a test process can hold.