We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After the WebSocket service stops, I want to stop reconnecting after a certain period of time.
I found connectionTimeout, but I noticed that connectionTimeout is not effective.
connectionTimeout
I found that at line 440 in client.ts, this.forceDisconnect() is called.
client.ts
this.forceDisconnect()
this.forceDisconnect();
However, in onWebSocketClose (line 486 in client.ts)
onWebSocketClose
this._stompHandler = undefined; // a new one will be created in case of a reconnect
This causes this.forceDisconnect() to not achieve the desired effect.
Version 7.0.0
The text was updated successfully, but these errors were encountered:
You should try reconnectDelay: 5000,
reconnectDelay: 5000,
Sorry, something went wrong.
No branches or pull requests
After the WebSocket service stops, I want to stop reconnecting after a certain period of time.
I found
connectionTimeout
, but I noticed thatconnectionTimeout
is not effective.I found that at line 440 in
client.ts
,this.forceDisconnect()
is called.However, in
onWebSocketClose
(line 486 inclient.ts
)This causes
this.forceDisconnect()
to not achieve the desired effect.Version 7.0.0
The text was updated successfully, but these errors were encountered: