eandersson / amqpstorm

Thread-safe Python RabbitMQ Client & Management library
https://www.amqpstorm.io/
MIT License
186 stars 36 forks source link

Channel creation hanging forever #97

Closed mehdigmira closed 3 years ago

mehdigmira commented 3 years ago

Hello,

I use a task queue framework that builds on top of amqpstorm, i've encountered cases where my process hangs forever. I think I've found the cause and think it's caused by amqpstorm. It would occur if we have a broken connection and try to open a channel with it. What happens inside amqpstorm code is:

Do you acknowledge this sequence can cause an infinite hang ?

eandersson commented 3 years ago

Yea - I see how that could happen. Let me see if I can reproduce it.

mehdigmira commented 3 years ago

Thanks for the quick reply, do you intend to publish a new version on pypi ?

eandersson commented 3 years ago

Yes, but I usually give it a few days to make sure people can review the changes, assuming everything looks good I'll probably upload it in 1-3 days.

eandersson commented 3 years ago

The new build show be available on pypi now. Let me know if the issue persists.