Make WebSocket Datasource be more resilient. Currently when the websocket connection gets closed, on connection open, we force the window to refresh. This is because we need to restart all the existing data polling.
Instead, we can broadcast an event on reconnect, and make all instances of Datasource to restart all polling requests and any pending requests.
Make WebSocket Datasource be more resilient. Currently when the websocket connection gets closed, on connection open, we force the window to refresh. This is because we need to restart all the existing data polling.
Instead, we can broadcast an event on reconnect, and make all instances of Datasource to restart all polling requests and any pending requests.