Replies: 1 comment
-
You see different cases - 1st checks if we should send heartbeat to broker, while 2nd check when last activity from broker was. As You quoted "After two missed heartbeats, the peer is considered to be unreachable", that's why multiple by 2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello community,
as RabbitMQ docs states:
Division by 2 hinting on timeout:
php-amqplib/PhpAmqpLib/Wire/IO/AbstractIO.php
Line 151 in 99374c1
But when value is multiplied by two (like it is an interval? 🤔):
php-amqplib/PhpAmqpLib/Wire/IO/AbstractIO.php
Line 165 in 99374c1
Beta Was this translation helpful? Give feedback.
All reactions