Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not nack if consumer is no_ack in QueueIterator #521

Merged
merged 4 commits into from
Feb 14, 2023
Merged

Do not nack if consumer is no_ack in QueueIterator #521

merged 4 commits into from
Feb 14, 2023

Conversation

jkr78
Copy link

@jkr78 jkr78 commented Feb 14, 2023

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.

aio_pika/queue.py Outdated Show resolved Hide resolved
aio_pika/queue.py Outdated Show resolved Hide resolved
mosquito
mosquito previously approved these changes Feb 14, 2023
Copy link
Owner

@mosquito mosquito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Satisfy pylama

@mosquito mosquito merged commit 9b5a63d into mosquito:master Feb 14, 2023
@mosquito
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants