Should we exit the websocket in case reconnect_max_tries attempts are exceeded?
As once reconnect_max_tries attempts are exhausted, no further reconnection attempts are made. So, instead of keeping the websocket connection hanging at the user end(with no further reconnects), maybe we can terminate the same as we do for go and node.js clients websocket.
Ws changes for the same are mentioned in this PR.
Should we exit the websocket in case reconnect_max_tries attempts are exceeded? As once
reconnect_max_tries
attempts are exhausted, no further reconnection attempts are made. So, instead of keeping the websocket connection hanging at the user end(with no further reconnects), maybe we can terminate the same as we do for go and node.js clients websocket. Ws changes for the same are mentioned in this PR.