-
Notifications
You must be signed in to change notification settings - Fork 20
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
Disable heartbeats If server not using it, but… #43
Conversation
…at value from parameters in seconds
I'm using RabbitMQ with heartbeat=0, when the client received |
It is a bug that allows the However, I don't want to add numbers to the heartbeat parameter for |
@bakkerthehacker |
@bakkerthehacker |
Currently there is no easy way to replace only one part of the I am also planning on writing some advanced tutorials that don't use |
I think it will so low level, in my case I just need to control heartbeats. I did some fixes in my fork and use its, I just need to say to server that I'll use heartbeats and he needs to answer me (rabbitmq don't answer if P.S. And look at line https://github.com/bakkerthehacker/bramqp/blob/master/lib/connectionHandle.js#L291 , maybe it should be |
You are correct, thanks for finding that! I have gone through the entire library and added all the channel scoping where necessary. |
Hi @bakkerthehacker, Can you explain the reason to not accept the heartbeat parameter as a number? |
I have been very hesitant about modifying any of the parameters in However, seeing as you both have expressed interest in modifying the heartbeats, I can look into expanding the parameter. |
This has been added in 54ad17d and published in 0.3.7 |
Disable heartbeats If server not using it, but prefer our own heartbeat value from parameters in seconds