We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example if I use the same pool object in multiple tokio tasks will there be undefined behavior.
Or should I share the connection through Arc in different tasks, or should each task call pool.clone() to share the connection。
The text was updated successfully, but these errors were encountered:
Yes, it's thread safe. 'pool.clone()' and sharing the connection through Arc will both work correctly.
Sorry, something went wrong.
No branches or pull requests
For example if I use the same pool object in multiple tokio tasks will there be undefined behavior.
Or should I share the connection through Arc in different tasks, or should each task call pool.clone() to share the connection。
The text was updated successfully, but these errors were encountered: