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

Make message delivery not synchronous on the thread calling BasicConsume / BasicPublish. #118

Merged
merged 2 commits into from
Dec 3, 2022

Conversation

Quogu
Copy link

@Quogu Quogu commented Dec 2, 2022

This is to better mimic the behaviour of the actual RabbitMQ.Client library, which runs message deliveries in one or more tasks. This is important for my use-case, as I have code that relies on this threading model, and deadlocks if message deliveries are synchronous.

@odalet odalet merged commit 648e990 into addupsolutions:master Dec 3, 2022
@odalet
Copy link

odalet commented Dec 3, 2022

Once again, wonderful work! I only allowed myself a few cosmetic changes for code style consistency purpose (otherwise said, you do the heavy lifting, I added the useless polishing stuff :)).

By the way, this may solve deadlocks I also had from time to time in unit tests (and they fatally only ever happened in our CI, not locally...)! Thanks for that!

Updated nuget is coming soon!

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

Successfully merging this pull request may close these issues.

2 participants