MAX_BATCH_BYTES

Constant MAX_BATCH_BYTES 

Source
pub const MAX_BATCH_BYTES: usize = _; // 2_097_152usize
Expand description

Hard cap on one flushed batch (bytes), the byte half of the flush trigger (with batch_max records, whichever comes first). Batches are delivered inline and in order, so this is also the flusher’s per-delivery memory bound.