pub const FLUSH_BATCH_LIMIT: usize = 20;
Maximum messages to send in a single flush operation. Prevents blocking the process loop when many messages are pending.