Closed kucix closed 12 months ago
Thanks @kucix. I think we gonna needed some tests to ensure this feature.
I added test with simulating timeout
What do you think @paveljanda?
AM not sure about this. In my experience, Broken pipe or closed connection
happens because of many reasons and we always fixed it somewhere else. Also, I would suggest using a async framework when the reality calls for it..
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.".