atproto utils for zig zat.dev
atproto sdk zig

feat: round-robin host rotation for jetstream and firehose clients master

rotate through multiple hosts on reconnect for client-side load balancing and resilience. defaults include official bsky instances plus community relays (waow.tech, fire.hose.cam, firehose.stream, firehose.network). - Options.host → Options.hosts (slice with sensible defaults) - subscribe() advances host_index on each reconnect - backoff resets when switching to a new host - jetstream rewinds cursor by 10s on host switch (instances may lag) - single-host usage still works: .hosts = &.{"my-host"} Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>


+135 -15
3 changed files