TCP_NODELAY after SYNC: changes to the implementation.

This commit is contained in:
antirez
2013-01-31 11:14:15 +01:00
parent 1d80acae54
commit 5f7dff4d16
8 changed files with 39 additions and 25 deletions

View File

@ -633,7 +633,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 slave_tcp_nodelay_off; /* turn off slave's tcp nodelay */
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 */