Commit 734605d
committed
Send heartbeat frames more often
The AMQP protocol is saying that we should send "two"
"heartbeat frames" during the "heartbeat timeout" (see [1] and rabbit
implement this in [2]).
The "two" value is the "rate" parameter in the current implementation.
The current implementation was sending only one frame during the
"heartbeat timeout", which is wrong.
[1] https://www.amqp.org/specification/0-9-1/amqp-org-download
[2] https://www.rabbitmq.com/heartbeats.html#heartbeats-interval
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>1 parent 9d7b36a commit 734605d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
| 757 | + | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| |||
0 commit comments