f36b98db30e91e2443002253814d4c81c40f345e
Bun closes a WS idle for idleTimeout (60s) and only resets its timer on frames received from the client — but during a chat turn the client only receives, so a long tool call or a gap between turns tripped the timeout (clean close 1000, mid-stream cuts, reconnects). Now each chat connection is pinged every 25s in the WS open handler (cleared in close); the client auto-pongs at the protocol level, resetting Bun's timer. Covers every client (web, mobile) with one server change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
No description provided
51 MiB
Languages
TypeScript
84.6%
CSS
6.7%
Shell
5%
JavaScript
3.7%