You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
UpdateTracter currently will not reconnect, and re-subscribe to resources if the websocket connection is closed unexpectedly or closed because of no recent traffic.
This would allow applications to continue to get notifications even after network connection drop issues, without having to do a full page refresh.
Proposal
Reconnect and re-subscribe on a webSocket.onclose event. This should retry a number of times with with exponential backoff.
Additional info
Another useful functionality could be to alert the app if its unable to make connect so the app could display a message to the user that its unable to connect.
The text was updated successfully, but these errors were encountered:
jholleran
changed the title
UpdateTracter to reconnect and and re-subscribe on close events
UpdateTracter to reconnect and re-subscribe on close events
Mar 17, 2020
Motivation
UpdateTracter currently will not reconnect, and re-subscribe to resources if the websocket connection is closed unexpectedly or closed because of no recent traffic.
This would allow applications to continue to get notifications even after network connection drop issues, without having to do a full page refresh.
Proposal
Reconnect and re-subscribe on a webSocket.onclose event. This should retry a number of times with with exponential backoff.
Additional info
Another useful functionality could be to alert the app if its unable to make connect so the app could display a message to the user that its unable to connect.
The text was updated successfully, but these errors were encountered: