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

No way to clear idle connections for removed servers #118

Open
graywolf opened this issue Apr 5, 2020 · 0 comments
Open

No way to clear idle connections for removed servers #118

graywolf opened this issue Apr 5, 2020 · 0 comments

Comments

@graywolf
Copy link

graywolf commented Apr 5, 2020

There does not seem to be any way to clear idle connections from servers that were removed from ServerList. Assuming I have ServerList implementation that allows adding/removing servers (for example for AWS ElastiCache) and I remove some server, the free connections map will keep those connections forever.

Ideally there should be something like dropAllIdle() that would cause dropping of all idle connections. That should be simple to implement and at the same time good enough.

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

No branches or pull requests

1 participant