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

Update current client in Upstream#read_loop #138

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

dentarg
Copy link
Member

@dentarg dentarg commented Oct 18, 2023

Fix regression introduced by #128

The current client is updated by the server / pool, when there is a new connection:

@pool.borrow(user, password, vhost, c) do |u|

c.current_client = client

Close #135

Made it easy to run the specs in Docker as they use sudo and needs an RabbitMQ instance running – specs weren't completely stable for me when running in macOS. This makes it much easier to start fresh. For CI, this should be the same as we were already using the container: keyword.

@dentarg dentarg merged commit 1abcc51 into main Oct 20, 2023
@dentarg dentarg deleted the upstream/update-current-client branch October 20, 2023 10:08
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.

hung connection
2 participants