in reply to check if conx to Net::RabbitMQ is still alive
It looks to me like the heartbeat parameter will determine how often you need to send a heartbeat frame; it's up to you to make sure that happens. I don't see that there is a way to get the server to tell you it's about to disconnect. You need to store somewhere in your program the last time you interacted with the server.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: check if conx to Net::RabbitMQ is still alive
by perl_help26 (Beadle) on Jun 22, 2016 at 14:44 UTC | |
by GotToBTru (Prior) on Jun 22, 2016 at 16:04 UTC |