X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/62ec599c363f36a8f2b0b7d39c1533895f491631..3b5e72d402345507856b00bb67a91942f4f1a49d:/src/redis.h diff --git a/src/redis.h b/src/redis.h index d26e3c79..043825af 100644 --- a/src/redis.h +++ b/src/redis.h @@ -361,7 +361,8 @@ struct redisServer { long long dirty_before_bgsave; /* used to restore dirty on failed BGSAVE */ list *clients; dict *commands; /* Command table hahs table */ - struct redisCommand *delCommand, *multiCommand; /* often lookedup cmds */ + /* Fast pointers to often looked up command */ + struct redisCommand *delCommand, *multiCommand; list *slaves, *monitors; char neterr[ANET_ERR_LEN]; aeEventLoop *el; @@ -413,6 +414,7 @@ struct redisServer { int repl_transfer_fd; /* slave -> master SYNC temp file descriptor */ 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? */ /* Limits */ unsigned int maxclients; unsigned long long maxmemory;