Skip to content
New issue

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

Support configurable retry policy for WebSocket reconnections #585

Open
meteor199 opened this issue Aug 17, 2023 · 1 comment
Open

Support configurable retry policy for WebSocket reconnections #585

meteor199 opened this issue Aug 17, 2023 · 1 comment
Milestone

Comments

@meteor199
Copy link

Currently stompjs does not provide configurable options for retrying WebSocket reconnections after disconnects.

It would be very helpful if stompjs could support custom retry policies through configuration options, similar to the reconnection options provided in socket.io:

https://socket.io/docs/v4/client-options/#randomizationfactor

The key options are:

  • reconnectionAttempts
  • reconnectionDelay
  • reconnectionDelayMax
  • randomizationFactor

With configurable retry, users can implement backoff retry, customize max intervals and attempts according to their needs.

@kum-deepak kum-deepak added this to the v7.1 milestone Aug 17, 2023
@kum-deepak
Copy link
Member

Will target for the v7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants