atproto relay in zig zlay.waow.tech
relay zig atproto
Something went wrong. Try again.
add connect gate to limit concurrent DNS/TLS handshakes master
shared semaphore (ConnectGate) bounds concurrent connection attempts across all subscriber threads, preventing the DNS/TLS storm at startup and during reconnect storms that starve the HTTP health probe. configurable via MAX_CONCURRENT_CONNECTS env var (default 50). each subscriber acquires a permit before connectAndRead() and releases it on return (success or failure) via defer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author zzstoatzz Co-author Claude Opus 4.6 (1M context) Date (Apr 12, 2026, 5:22 PM UTC) Commit 756d6a32 756d6a32c95ca0796fd71e6f42216526ab159423 Parent 39a0886a 39a0886acbacf49c7f621f709d8f5def1ad33467