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

Example fix #250

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Example fix #250

merged 2 commits into from
Feb 29, 2024

Conversation

Boris-Plato
Copy link
Contributor

Related to #249

@lukebakken lukebakken self-assigned this Feb 28, 2024
@lukebakken lukebakken added this to the 1.9.1 milestone Feb 28, 2024
@@ -117,6 +118,7 @@ func publish(sessions chan chan session, messages <-chan message) {
select {
case confirmed, ok := <-confirm:
if !ok {
pub.Close()
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think so, because the break Publish exits the for loop.

@Zerpet Zerpet linked an issue Feb 29, 2024 that may be closed by this pull request
Copy link
Contributor

@Zerpet Zerpet left a comment

Choose a reason for hiding this comment

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

It's looking good. I'm going to verify manually before merging.

Copy link
Contributor

@Zerpet Zerpet left a comment

Choose a reason for hiding this comment

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

Thank you!

@Zerpet Zerpet merged commit 7305875 into rabbitmq:main Feb 29, 2024
7 checks passed
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.

republishing on reconnect bug in the example
4 participants