new INFO filed master_link_down_since_seconds

This commit is contained in:
antirez
2011-06-17 16:13:22 +02:00
parent 591f29e0f5
commit 07486df6fe
3 changed files with 9 additions and 0 deletions

View File

@ -604,6 +604,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;