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 race condition on confirms #183

Merged
merged 2 commits into from Mar 21, 2023
Merged

Fix race condition on confirms #183

merged 2 commits into from Mar 21, 2023

Conversation

ghost
Copy link

@ghost ghost commented Mar 17, 2023

This PR fixes Issue #182

@lukebakken lukebakken self-assigned this Mar 19, 2023
@lukebakken lukebakken added this to the 1.8.0 milestone Mar 19, 2023
Copy link
Contributor

@lukebakken lukebakken left a comment

Choose a reason for hiding this comment

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

@Zerpet changing Publish to publish is an API change, but I consider it being public to be a bug in the first place. What do you think?

@lukebakken lukebakken requested a review from Zerpet March 19, 2023 15:45
@Zerpet Zerpet linked an issue Mar 21, 2023 that may be closed by this pull request
@Zerpet
Copy link
Contributor

Zerpet commented Mar 21, 2023

@Zerpet changing Publish to publish is an API change, but I consider it being public to be a bug in the first place. What do you think?

I'm happy with that. confirm is unexported struct, so it's not even a breaking change, since user code can't use it.

@Zerpet Zerpet merged commit 09d223a into rabbitmq:main Mar 21, 2023
@Zerpet
Copy link
Contributor

Zerpet commented Mar 21, 2023

Thank you @calloway-jacob !! 🚀

@ghost
Copy link
Author

ghost commented Mar 21, 2023

@Zerpet and @lukebakken Very happy to help!

@ghost ghost deleted the fix-confirm-receipt-early branch March 21, 2023 10:01
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.

DeferredConfirmation.Wait() can hang indefinitely
3 participants