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