agoragames / haigha

AMQP Python client
BSD 3-Clause "New" or "Revised" License
160 stars 41 forks source link

Consumer bring high CPU usage when `close_cb` not specified in connection constructor #58

Open dizpers opened 10 years ago

dizpers commented 10 years ago

I use haigha.connections.rabbit_connection.RabbitConnection class to get connection instance. I have almost 100% CPU usage (with no messages in queues) when the following conditions are True:

awestendorf commented 10 years ago

Sorry for the long delay, it's been a busy summer of product launches.

Have you been able to isolate why this is happening, what it's spinning on? Are you using greenlets, or blocking sockets?