Skip to content

fix the maxActiveConns sematic #2934

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

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

Conversation

lawlielt
Copy link

@lawlielt lawlielt commented Mar 5, 2024

we can get conn use the Get or NewConn method, they are all will be add to the p.conns.

the sematic of the MaxActiveConns opt is the maximum number of connections in the pool

Copy link
Author

@lawlielt lawlielt left a comment

Choose a reason for hiding this comment

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

fix the maxActiveConns sematic

@ndyakov
Copy link
Member

ndyakov commented Jun 5, 2025

Hello @lawlielt , would you please add unit tests that cover the change that you did

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

Successfully merging this pull request may close these issues.

3 participants