Watch
0
0
Fork
You've already forked hyperhive
0

swarm-queue-client: fix the max_payload and stream-size docs, share the token form, re-check rotation under the lock

This commit is contained in:
maia 2026-11-30 15:47:36 +01:00 • committed by mara
commit 5ae00f8c3e

View file

@ -13,8 +13,9 @@ const OUTPUT_MAX_BYTES: i64 = 64 * 1024 * 1024;
/// The config [`open_output`] creates `agent`'s output stream with.
///
/// `max_message_size` is the queue's live `max_payload` ([`crate::max_payload`]),
/// so the stream never rejects a row the queue itself accepted.
/// `max_message_size` is the queue's `max_payload` ([`crate::max_payload`]) when
/// the stream is created, and stays at that size when the queue's limit later
/// changes.
pub(crate) fn output_config(
agent: &str,
max_message_size: i32,