[rabbitmq-discuss] Why default connection heartbeat = 0?
zmstone at gmail.com
Wed Mar 28 13:05:29 BST 2012
One more question, what could possibly be impacted if the default heartbeat
value is set to 2, 3 or 5 etc. ?
On Wed, Mar 28, 2012 at 1:53 PM, Emile Joubert <emile at rabbitmq.com> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss