Skip to main content

PUT_BLOBS_BATCH_BYTES

Constant PUT_BLOBS_BATCH_BYTES 

Source
pub const PUT_BLOBS_BATCH_BYTES: usize = _; // 3_670_016usize
Expand description

Byte budget for one batched PutBlobs RPC (headroom under waratah_proto::GRPC_MAX_MESSAGE_SIZE).

Whole-blob puts flush on accumulated payload bytes, not blob count: the 7/8 headroom absorbs per-blob framing (16-byte id + proto tags), so a batch of many small blobs still fits one message. Blobs whose payload alone exceeds this budget take the streaming PutBlobChunks path.