mosquito / aio-pika

AMQP 0.9 client designed for asyncio and humans.
https://aio-pika.readthedocs.org/
Apache License 2.0
1.18k stars 186 forks source link

Do not nack if consumer is no_ack in QueueIterator #521

Closed jkr78 closed 1 year ago

jkr78 commented 1 year ago

An exception is raised if QueueIterator is created with the consumer flag no_ack. Added a check to ensure nack is not getting called when QeueuIterator is closed and consumer has no_ack option set to True.

mosquito commented 1 year ago

@jkr78 your fixed released in 9.0.2. Thank you for your contribution.