net: reduce tcp idle timeout

This commit is contained in:
Thomas Schoebel-Theuer 2014-01-15 14:47:34 +01:00
parent 62d9dd371a
commit 2bdc298224
1 changed files with 3 additions and 3 deletions

View File

@ -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);