mirror of
https://github.com/livekit/livekit.git
synced 2026-11-23 02:29:22 +00:00
After registration the worker read deadline was cleared, so a worker whose host froze without closing the TCP connection stayed in the pool and kept being sent jobs until the kernel gave up on the socket. Set an idle timeout instead: each message or pong extends the read deadline by agent.IdleTimeout (30s), and a peer that does neither fails the pending read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>