-
Notifications
You must be signed in to change notification settings - Fork 985
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
Introduce extended Keep-Alive options #1437
Comments
|
Lettuce now supports extended Keep-Alive options when using io_uring, epoll, or NIO. Extended NIO socket options are available on Java 11 or newer. Also, refactor channel/EventLoopGroup initialization into a single place available from Transports.configureBootstrap.
@mp911de hello, I noticed But according to Linux kernel default parameter, it should be 75:
Not sure if it is reasonable to discuss this issue under the closed issue, if need to open a new issue, let me know. |
I'm not sure about the defaults. These seem to be different across platforms. It think it's fine to update the interval to 75. Feel free to submit a pull request. |
thanks, i will submit a PR. |
Feature Request
We should support extended Keep-Alive configuration (enabled, idle, interval, count) for more fine-grained control of keep-alive.
Is your feature request related to a problem? Please describe
Detection of dead peers, see #1428.
Describe the solution you'd like
Applying Keep-Alive channel options automatically.
Describe alternatives you've considered
Manual configuration, see #1428 (comment) and #1428 (comment).
The text was updated successfully, but these errors were encountered: