CopernicaMarketingSoftware / AMQP-CPP

C++ library for asynchronous non-blocking communication with RabbitMQ
Apache License 2.0
875 stars 339 forks source link

implemented heartbeat timer for LibUV example #510

Open thidas1290 opened 1 year ago

thidas1290 commented 1 year ago

broker disconnects the client when heartbeats are not sent in the given LibUV example

rabbitmq-timeout
EmielBruijntjes commented 1 year ago

For LibEv this has already been implemented, but the code is much more complex over there. For example:

Can you take a look at such things? Otherwise it might be better to just disable heartbeats.

thidas1290 commented 1 year ago

@EmielBruijntjes updated the LibUV heartbeat implementation referencing LibEv example such that,