Hello,
i have problem while using consume method (not basic_consume) on blockingConnection with prefetch_count.
Looks like channel.basic_qos(prefetch_count=X) dont work and consume (it returns generator) have too much messages in queue so its ending with "PRECONDITION_FAILED - consumer ack timed out on channel" after 30minutes (timeout by Rabbit server).
Googled and read alot of documentation and examples also trying to get something from pika sources but without success. There is alot about basic_consume() but not much about consume(). Using consume() because i can set inactivity timeout for blocking to take care about other stuff around.
Maybe prefetch dont work at all while using consume (consumer generator), iterrating via for loop like:
for method, properties, body in Channel.consume(queue, auto_ack=False, inactivity_timeout=30)
Using pika 1.2.0
Thank you for any info