klawr / mqtt-inspector

MIT License
2 stars 1 forks source link

Reconnect websocket #13

Closed klawr closed 8 months ago

klawr commented 8 months ago

Problem Description Once the backend has to be restarted due to a bug or similar the frontend has to be reloaded

Proposed Solution On disconnect start service to try reconnecting every n seconds

Possible Alternative Approaches Show connection status and advise user to reload page or try to reconnect manually.

klawr commented 8 months ago

Implemented manual reconnection with indication that connection is lost. Maybe implement toast in the future