Skip to main content

MAX_PAYLOAD_BYTES

Constant MAX_PAYLOAD_BYTES 

Source
pub const MAX_PAYLOAD_BYTES: usize = _; // 7_168usize
Expand description

Maximum serialized JSON payload bytes. PostgreSQL caps NOTIFY payloads at 8000 bytes; we reserve ~1 KiB for PG framing, channel name, and the pg_notify SQL wrapper.