Thank you Cloudflare. I have been using

Thank you Cloudflare. I have been using WebSockets since 2012 but you made my dreams come true this week with Hibernating WebSockets. Wowza. 💯
2 Replies
Milan
Milan•3mo ago
Well, you made my day with your comment 😄. How'd you find out about websocket hibernation / did you find anything particularly confusing?
Zach
ZachOP•3mo ago
I am using Live Stream and was looking into Durable Objects for WebSocket chat. Since it hibernates I can basically use it as a normal server without the cost of running it. One question I did have: In production, when a client disconnects it shows a Canceled Error even if the socket is closed properly with a socket.close() from the browser when the window closes. Is there a way to prevent the errors from being thrown for normal behavior? Everything works fine and no errors are thrown locally. Everything in the Worker is already in a try/catch. Thank you!
Want results from more Discord servers?
Add your server