diff --git a/amqprs/src/net/reader_handler.rs b/amqprs/src/net/reader_handler.rs index 723cd0b..a9d6ad6 100644 --- a/amqprs/src/net/reader_handler.rs +++ b/amqprs/src/net/reader_handler.rs @@ -21,6 +21,7 @@ use super::{ ///////////////////////////////////////////////////////////////////////////// +/// After two missed heartbeats, the peer is considered to be unreachable according to [spec](https://www.rabbitmq.com/docs/heartbeats#heartbeats-interval) const MAX_HEARTBEAT_MISS: u64 = 2; pub(crate) struct ReaderHandler {