CopernicaMarketingSoftware / AMQP-CPP

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

libuv.cpp will be disconnect every 3 minutes #516

Open tms2003 opened 8 months ago

tms2003 commented 8 months ago

Describe the bug The code :libuv.cpp libuv.cpp automatically disconnects every 3 minutes and I have to reconnect. I read that the instructions say it uses the heartbeat on its own. But obviously, no!

Expected behavior and actual behavior

do not disconnects

Sample code

the same with :libuv.cpp

so,how can i do this?

EmielBruijntjes commented 8 months ago

That file was sent in by someone via a pull request. I do not have the time to fix it. So if you need it, either disable the heartbeats, or send in a pull request to fix it.

Heartbeats do work for libev.h, so you can use that as example.