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

withTimeout create NewConnPool #2655

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

taytzehao
Copy link
Contributor

Created a new Connection pool for the cloned client. The copy performed by the clone := *c operation is just a shallow copy. This causes the ConnPool in the clone to be referring to the ConnPool in the old Client. When a new hook is added to the client, the hook is added to the newly cloned hook rather than the old one.

Added unit test case.

#2561

@taytzehao taytzehao changed the title add comment withTimeout create NewConnPool Jul 20, 2023
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.

1 participant