-
Notifications
You must be signed in to change notification settings - Fork 76
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
Question about ConnectionPool() #226
Comments
Yes, it isn't thread-safe, thus we should maintain a local connection pool per thread :). |
Dear @wey-gu |
Yes, you can, just ensure one session can only be used by one thread is enough. |
I see! |
Does "session" this mean:
gclient.net.ConnectionPool()
must not be shared among threadsgclient.net.ConnectionPool()
is not shared among threadsMore precise, is this allowed?
The text was updated successfully, but these errors were encountered: