summaryrefslogtreecommitdiff
path: root/src/redis.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/redis.h')
-rwxr-xr-xsrc/redis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/redis.h b/src/redis.h
index 3319aa87b..b4d58db40 100755
--- a/src/redis.h
+++ b/src/redis.h
@@ -574,6 +574,7 @@ struct redisServer {
/* Configuration */
int verbosity; /* Loglevel in redis.conf */
int maxidletime; /* Client timeout in seconds */
+ int tcpkeepalive; /* Set SO_KEEPALIVE if non-zero. */
size_t client_max_querybuf_len; /* Limit for client query buffer length */
int dbnum; /* Total number of configured DBs */
int daemonize; /* True if running as a daemon */
@@ -647,6 +648,7 @@ struct redisServer {
int repl_serve_stale_data; /* Serve stale data when link is down? */
int repl_slave_ro; /* Slave is read only? */
time_t repl_down_since; /* Unix time at which link with master went down */
+ int repl_disable_tcp_nodelay; /* Disable TCP_NODELAY after SYNC? */
int slave_priority; /* Reported in INFO and used by Sentinel. */
/* Limits */
unsigned int maxclients; /* Max number of simultaneous clients */