pub const MAX_PUBLISH_ENVELOPES: usize = 1_000;
Most envelopes one publish request may carry, duplicates included (API section 7). Clients chunk to it, and the backend refuses more.