Use Library For Reconnecting Websocket #1041
Labels
priority-2-moderate
Should be resolved on a reasonable timeline.
release-patch
Warrents a patch release
type-javascript
Related to client-side code
Current Situation
Currently we implement our own reconnecting webscoket which is deficient in one way I do know, and probably others I'm unaware of. The one I know, is that we don't stop trying to reconnect after the connection is closed due to an error. Keeping track of how to respond in the case of each error code isn't something we should have to deal with. We should just use a library.
Proposed Actions
Use https://github.com/pladaria/reconnecting-websocket
The text was updated successfully, but these errors were encountered: