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

fix: Avoid QueueFull exception in file_watch source plugin #342

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

Alex-Izquierdo
Copy link
Contributor

Avoid QueueFull exception by using queue.put instead of queue.put_nowait, no need to catch the exception, await queue.put() implements backpressure natively.

Closes #130

@github-actions github-actions bot added the bug Something isn't working label Oct 21, 2024
@Alex-Izquierdo Alex-Izquierdo changed the title fix: void QueueFull exception in file watch fix: Avoid QueueFull exception in file watch Oct 21, 2024
@Alex-Izquierdo Alex-Izquierdo changed the title fix: Avoid QueueFull exception in file watch fix: Avoid QueueFull exception in file_watch source plugin Oct 21, 2024
@Alex-Izquierdo Alex-Izquierdo requested a review from a team October 22, 2024 10:54
@Alex-Izquierdo Alex-Izquierdo merged commit 996a075 into ansible:main Oct 22, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

file_watch raises QueueFull exception on event trigger
3 participants