Skip to content
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

Define connection lifetime #563

Closed
renecannao opened this issue May 5, 2016 · 0 comments
Closed

Define connection lifetime #563

renecannao opened this issue May 5, 2016 · 0 comments

Comments

@renecannao
Copy link
Contributor

This is yet another attempt to work around https://jira.mariadb.org/browse/MDEV-8338 .
When connections are created, their creation time is tracked.
When a connection is returned to the connection pool and its lifetime is beyond a certain threshold, it is automatically terminated.
Add new global variable mysql-connection_max_age

@renecannao renecannao self-assigned this May 5, 2016
@renecannao renecannao added this to the Truls milestone May 5, 2016
renecannao added a commit that referenced this issue May 5, 2016
If a connection has a lifetime greated than mysql-connection_max_age_ms , it is dropped

See #563
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant