Skip to content

Use COM_RESET_CONNECTION for MariaDB >= 10.2.4 #613

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

Closed
bgrainger opened this issue Feb 24, 2019 · 4 comments
Closed

Use COM_RESET_CONNECTION for MariaDB >= 10.2.4 #613

bgrainger opened this issue Feb 24, 2019 · 4 comments

Comments

@bgrainger
Copy link
Member

COM_RESET_CONNECTION is supported in MariaDB starting in v10.2.4: https://mariadb.com/kb/en/library/com_reset_connection/

@MosheL
Copy link

MosheL commented Feb 24, 2019

it can solve the #612 ?

@bgrainger
Copy link
Member Author

Unsure, as we don't yet know the cause of #612. This is just taking advantage of a possibly-faster way to reset pooled connections.

@MosheL
Copy link

MosheL commented Feb 26, 2019

It will be faster. I was found the old connection reset method can take a ~ 20ms sometimes.

Thanks for all.

@bgrainger
Copy link
Member Author

Added in 0.50.0.

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

No branches or pull requests

2 participants