Skip to content

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

@ndyakov
Copy link
Member

ndyakov commented Aug 5, 2025

@lawlielt I am not 100% sure if we would like to calculate the len since we have the poolSize. Can you check the changes in #3447 related to the poolSize and let me know there if you would like to change it. For now I'm gonna close this one.

@ndyakov ndyakov closed this Aug 5, 2025
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