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
runtime: add custom keep_alive functionality #2809
runtime: add custom keep_alive functionality #2809
Conversation
Adds a keep_alive attribute in the builder that can be customized only for the BlockingPool Fixes: tokio-rs#2585
This PR needs a test. Lacking good ideas on how to do so. Open to suggestions :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! This looks like a good start. I had some small suggestions.
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more docs nits. Other than that, this looks good to me, and I'll be happy to merge it once the docs issues are addressed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, this looks good to me — sorry for the back and forth on feature flags. Thanks for working on this!
Thanks for the review @hawkw |
Adds a keep_alive attribute in the builder that can be
customized only for the BlockingPool
Fixes: #2585