mirror of
https://github.com/necronicle/z2k.git
synced 2026-05-02 13:30:26 +00:00
CF Workers free plan has a per-invocation subrequest limit. After ~50 outbound connect() calls, new connections silently fail (CONNECT_FAIL). Worker now proactively closes the WS after 40 connects, forcing the client to reconnect to a fresh invocation. Also closes WS immediately when connect() throws after 10+ total connects (limit already hit). Rebuilt all 9 architecture binaries with current tunnel.go. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4.4 MiB
Executable file
4.4 MiB
Executable file