-
Notifications
You must be signed in to change notification settings - Fork 70
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
sessionPool使用的时候,session会一直增长? #274
Comments
不准确的 |
当设的最大的session个数大于host个数的时候,idleSessions会一直为0么? |
else mean pool.idleSessions.Len() == 0 |
@songlong hi, if your problem is solved, would you like to close the issue? Thanks a lot for your contribution. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
getIdleSession,这个地方判断,
} else if pool.activeSessions.Len() < pool.conf.maxSize {
这个地方感觉是准确的,这个时候,如果session满了,还会继续创建新的session出来的
The text was updated successfully, but these errors were encountered: