in reply to Re: check if conx to Net::RabbitMQ is still alive
in thread check if conx to Net::RabbitMQ is still alive

So I need to say somewhere in my code : if X amount of time has passed $rabbitmq->heartbeat() ? is this what you mean ? Or setting the param will do this by itself?
  • Comment on Re^2: check if conx to Net::RabbitMQ is still alive

Replies are listed 'Best First'.
Re^3: check if conx to Net::RabbitMQ is still alive
by GotToBTru (Prior) on Jun 22, 2016 at 16:04 UTC

    Yes. It will not automatically send the heartbeat. The RabbitMQ documentation indicates that heartbeating is intended to allow for quicker detection of a lost connection. Any activity on the connection counts as a heartbeat; you only need to send an explicit beat if nothing else is happening.

    But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)