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:
there is no close_cb specified to connection
I try to self._channel.basic.consume(queue='bad_queue', consumer=self._consume) and bad_queue not in RabbitMQ in this moment
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:close_cb
specified to connectionself._channel.basic.consume(queue='bad_queue', consumer=self._consume)
andbad_queue
not in RabbitMQ in this moment