You should probably implement Websocket

You should probably implement Websocket automatic reconnects when disconnected. Websockets aren't meant to live forever, they can and will die for various reasons out of your control.
3 Replies
tymon
tymon7mo ago
yes, i'm using surrealdb, so it still auto reconnect. I have contacted surrealdb team, but not sure which is the main reason. Does Cloudflare have a limit of using wss connect?
No description
Isaac McFadyen
Isaac McFadyenOP7mo ago
That limit is just the number of concurrent websocket connections. Even though it says "low" it's still just a general guideline, you should be able to use websockets fine. As far as I know there's no reason Cloudflare should auto-disconnect them.
tymon
tymon7mo ago
Oh yes, so maybe my mistake of deploy surrealdb or surrealdb errors. Thank you
Want results from more Discord servers?
Add your server