bunqueue v2.6.19
blog · release
bunqueue v2.6.19
WebSocket idle timeout (ping/pong), webSocket max payload limit.
To install bunqueue v2.6.19
Section titled “To install bunqueue v2.6.19”bun add bunqueue@2.6.19npm install bunqueue@2.6.19To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestWebSocket idle timeout (ping/pong)
Section titled “WebSocket idle timeout (ping/pong)”Set idleTimeout: 120 on the WebSocket server. Bun automatically sends ping frames and closes connections that don’t respond with pong within 120 seconds. Dead clients (crash, network drop, kill -9) are now detected and cleaned up automatically instead of leaking in the clients Map forever.
WebSocket max payload limit
Section titled “WebSocket max payload limit”Set maxPayloadLength: 1MB. Prevents memory exhaustion from oversized messages.
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.6.18 · Release on GitHub · Commits since v2.6.17 · Full changelog · All posts