contributte / rabbitmq

🐰 RabbitMQ (AMQP, STOMP, MQTT) using BunnyPHP for Nette Framework (@nette).
https://contributte.org/packages/contributte/rabbitmq.html
MIT License
24 stars 25 forks source link

Fix producer with timeouted connection - reconnect #53

Closed kucix closed 3 years ago

kucix commented 3 years ago

This pull request fix situation when is called publish and then script waiting or processing something else (without hearthbeat to rabbitmq) and then (after long time) is called another publish that failes on error like "Could not write data to socket." or "Broken pipe or closed connection.".