Skip to content

Split how-it-works key config; document max_polling_interval#17

Merged
lesnik512 merged 1 commit intomainfrom
b1-correlation-id-default-doc
May 4, 2026
Merged

Split how-it-works key config; document max_polling_interval#17
lesnik512 merged 1 commit intomainfrom
b1-correlation-id-default-doc

Conversation

@lesnik512
Copy link
Copy Markdown
Member

The unified "Key configuration" table in how-it-works.md mixed broker-scoped (timeline_key, payloads_key) and subscriber-scoped (polling_interval, max_concurrent, lease_ttl) knobs and omitted max_polling_interval (default 5.0 s, see schemas.py:11). A reader trying to compute idle-queue latency from polling_interval alone would be off by orders of magnitude.

Split the table into "Broker constructor" (adds start_timeout) and "Per-subscriber" (adds max_polling_interval with the max_polling_interval × 1.5 worst-case latency note).

Add max_polling_interval to the @router.subscriber example in router.md and a one-liner clarifying that all subscriber options are accepted by routers.

The unified "Key configuration" table in how-it-works.md mixed
broker-scoped (`timeline_key`, `payloads_key`) and subscriber-scoped
(`polling_interval`, `max_concurrent`, `lease_ttl`) knobs and omitted
`max_polling_interval` (default `5.0` s, see `schemas.py:11`). A reader
trying to compute idle-queue latency from `polling_interval` alone
would be off by orders of magnitude.

Split the table into "Broker constructor" (adds `start_timeout`) and
"Per-subscriber" (adds `max_polling_interval` with the
`max_polling_interval × 1.5` worst-case latency note).

Add `max_polling_interval` to the `@router.subscriber` example in
`router.md` and a one-liner clarifying that all subscriber options are
accepted by routers.
@lesnik512 lesnik512 self-assigned this May 4, 2026
@lesnik512 lesnik512 merged commit ad9b920 into main May 4, 2026
3 checks passed
@lesnik512 lesnik512 deleted the b1-correlation-id-default-doc branch May 4, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant