Open boxmein opened 1 year ago
This does not appear to have a compounding effect, unlike #587 .
An appropriate fix would be to stop any pending waiting reconnection requests when attempting to connect again.
Prior art:
Fixing this was left out of #577 due to #577's importance in providing high WebSocket delivery quality.
When using the Javascript SDK in a browser, and a content filter that restricts WebSocket traffic is in place on the customer's computer, it is possible that multiple websockets are created.
The following sequence of events must occur:
Qminder.GraphQL.subscribe(...).subscribe(...)
Qminder.GraphQL.subscribe(...).subscribe(...)
again