mirror of https://github.com/schoebel/mars
net: reduce tcp idle timeout
This commit is contained in:
parent
62d9dd371a
commit
2bdc298224
|
@ -40,10 +40,10 @@ struct mars_tcp_params default_tcp_params = {
|
|||
.ip_tos = IPTOS_LOWDELAY,
|
||||
.tcp_window_size = 8 * 1024 * 1024, // for long distance replications
|
||||
.tcp_nodelay = 0,
|
||||
.tcp_timeout = 20,
|
||||
.tcp_timeout = 2,
|
||||
.tcp_keepcnt = 3,
|
||||
.tcp_keepintvl = 10, // keepalive ping time
|
||||
.tcp_keepidle = 10,
|
||||
.tcp_keepintvl = 3, // keepalive ping time
|
||||
.tcp_keepidle = 4,
|
||||
};
|
||||
EXPORT_SYMBOL(default_tcp_params);
|
||||
|
||||
|
|
Loading…
Reference in New Issue