[rabbitmq-discuss] Why default connection heartbeat = 0?

Emile Joubert emile at rabbitmq.com
Wed Mar 28 12:53:54 BST 2012


On 28/03/12 12:37, stone wrote:
> Why Erlang (perhaps other languages too?) client default connection
> heartbeat value is set to 0 ?
> Is there any special reason behind this or?
> Because people often forget to give a value to this field,
> this might lead to connection leaks due to some unexpected crashes or
> network downtime.

The absence of AMQP heartbeats should not lead to connection leaks in
the broker or any well-written client.

The default broker behaviour is not to request heartbeats, but clients
may enable them if the network is known to be unreliable.


More information about the rabbitmq-discuss mailing list