new INFO filed master_link_down_since_seconds

This commit is contained in:
antirez
2011-06-17 16:13:22 +02:00
parent b04e800b98
commit 5d5fe340e0
3 changed files with 10 additions and 0 deletions

View File

@ -452,6 +452,7 @@ struct redisServer {
char *repl_transfer_tmpfile; /* slave-> master SYNC temp file name */
time_t repl_transfer_lastio; /* unix time of the latest read, for timeout */
int repl_serve_stale_data; /* Serve stale data when link is down? */
time_t repl_down_since; /* unix time at which link with master went down */
/* Limits */
unsigned int maxclients;
unsigned long long maxmemory;