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

Does not auto-reconnect #9

Closed
marufbd opened this issue Mar 5, 2019 · 1 comment
Closed

Does not auto-reconnect #9

marufbd opened this issue Mar 5, 2019 · 1 comment

Comments

@marufbd
Copy link

marufbd commented Mar 5, 2019

If i restart the broker, the client does not auto-reconnect.

But npm doc, connect() says it automatically reconnects.

@Florimond
Copy link
Member

I do not reproduce this behavior.
image

I restarted the broker and, as you can see, it tried to reconnect automatically several times until it succeeded.

However, you'll still have to re-subscribe to the channels, which you can do in the connect handler.

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