atproto relay in zig zlay.waow.tech
relay zig atproto
Something went wrong. Try again.
fix connect gate: release permit after connectAndRead, not at loop end master
the defer was scoped to the while loop body, holding the permit during backoff sleep (up to 30 min). if 50 hosts fail simultaneously, all permits lock for the backoff duration and no other host can connect. now releases the permit immediately after connectAndRead returns (success or failure). connected subscribers reading frames don't count against the handshake limit. 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:47 PM UTC) Commit 85907d4c 85907d4c2144337daa84f8ca087d6296b812f97f Parent 5832da8e 5832da8e2f9d77faec7f2c6221cb05aac4af8b4a