MangoAutomation / ma-dashboards

Mango Module for creating custom HTML5 Dashboards using AngularJS
Other
6 stars 7 forks source link

RAD-2531 re-Open point-value WebSocket if it is closed #426

Closed MertCingoz closed 1 year ago

jazdw commented 1 year ago

@MertCingoz I'm fine with this if you have tested it. There should already be a mechanism which re-opens the WebSocket connection though: the watchdog checks the connection status, if changes to LOGGED_IN then it will re-open the socket and re-send the subscriptions.

MertCingoz commented 1 year ago

@jazdw Yes I already tested. This happens when the websocket ping pong times out and watchdog status is still API_UP Watchdog able to re-open websocket as you described but since it has different and higher timeout setting by default we need to re-open websocket if it is closed.