-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Configurable socket keep alive interval #5163
Labels
Comments
@vietj I can add this feature, just need the permission to branch. |
@aksabg please contribute it via a pull request |
@vietj I don't have permissions to create a remote branch required for a pull request. |
@vietj any chance to get this merged? This is a PITA to configure externally on Kubernetes < 1.29 where configuring these defaults via sysctl is considered unsafe. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NetServer
now supportstcpKeepAlive
flag which is translated to Netty'sSO_KEEPALIVE
flag. However, the keepalive interval, idle time and count cannot be set through settings, which means it defaults to OS values (usually the idle time is 2 hours).When using
NetServer
in conjuction with the AWS load balancer, the connections are closed when idle for more than 350 seconds.The following Netty fields should be supported in
NetServerOptions
:Reference: reactor/reactor-netty#2167
The text was updated successfully, but these errors were encountered: