-
Notifications
You must be signed in to change notification settings - Fork 86
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
Max reconnect attempts and exponential back-off #249
Comments
I will add a FAQ entry for this soon. Give me few days. |
Thanks, any update on this? |
I have created a branch of samples implementing this. It also implements exponential back-off, i.e., each subsequent connection attempt will after 200, 400, 800, 1600 ... ms. See the diff at https://github.com/stomp-js/samples/pull/4/files and full source at https://github.com/stomp-js/samples/blob/max-reconnects/stompjs/chat/chat.html |
Awesome, thanks for the samples! |
Keeping it open for a while till I create a FAQ entry. |
Is this still open? :( |
Is there a solution or workaround for configuring max reconnect attempts? |
I was looking for an example where I could either set a max number of reconnect attempts, and couldn't find any. I saw an issue on the ng2-stompjs project, but is there one specific to this project?
The text was updated successfully, but these errors were encountered: