diff options
author | antirez <antirez@gmail.com> | 2016-07-04 12:08:37 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2016-07-04 12:08:42 +0200 |
commit | b99ad1bd808fcfa5f57301a65c875d8c16d7cf71 (patch) | |
tree | 7a09b404b0b3ce95eee59b29748653969620d95a | |
parent | 7e220a964afdcb18bb660e898bc74a727a2a5848 (diff) | |
download | redis-b99ad1bd808fcfa5f57301a65c875d8c16d7cf71.tar.gz |
Make tcp-keepalive default to 300 in internal conf.
We already changed the default in the redis.conf template, but I forgot
to change the internal config as well.
-rw-r--r-- | src/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 9d3fc2d33..3ad196462 100644 --- a/src/server.h +++ b/src/server.h @@ -114,7 +114,7 @@ typedef long long mstime_t; /* millisecond time type. */ #define CONFIG_DEFAULT_CLUSTER_ANNOUNCE_BUS_PORT 0 /* Use +10000 offset. */ #define CONFIG_DEFAULT_DAEMONIZE 0 #define CONFIG_DEFAULT_UNIX_SOCKET_PERM 0 -#define CONFIG_DEFAULT_TCP_KEEPALIVE 0 +#define CONFIG_DEFAULT_TCP_KEEPALIVE 300 #define CONFIG_DEFAULT_PROTECTED_MODE 1 #define CONFIG_DEFAULT_LOGFILE "" #define CONFIG_DEFAULT_SYSLOG_ENABLED 0 |