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
Currently the backend logs unexpected error when the websocket is disconnected (e.g. editor is closed).
Ideally we should be able to differentiate termination from sudden disconnects (e.g. losing internet access).
Both client and server should handle both cases as gracefully as possible.
For the client this implies:
Sending proper termination when the editor is closed naturally.
Resetting things like awareness so that no ghost cursor occur.
On a loss of connection try to reconnect, preferably with exponential backoff to not overload a potentially unstable server
Currently the backend logs unexpected error when the websocket is disconnected (e.g. editor is closed).
Ideally we should be able to differentiate termination from sudden disconnects (e.g. losing internet access).
Both client and server should handle both cases as gracefully as possible.
For the client this implies:
For the server this implies: