mirror of
https://github.com/fluencelabs/redis
synced 2025-07-31 00:11:56 +00:00
This commit is contained in:
@@ -57,6 +57,9 @@
|
||||
#define REDIS_SLOWLOG_MAX_LEN 64
|
||||
#define REDIS_MAX_CLIENTS 10000
|
||||
|
||||
#define REDIS_REPL_TIMEOUT 60
|
||||
#define REDIS_REPL_PING_SLAVE_PERIOD 10
|
||||
|
||||
/* Hash table parameters */
|
||||
#define REDIS_HT_MINFILL 10 /* Minimal hash table fill 10% */
|
||||
|
||||
@@ -591,6 +594,8 @@ struct redisServer {
|
||||
char *masterauth;
|
||||
char *masterhost;
|
||||
int masterport;
|
||||
int repl_ping_slave_period;
|
||||
int repl_timeout;
|
||||
redisClient *master; /* client that is master for this slave */
|
||||
int repl_syncio_timeout; /* timeout for synchronous I/O calls */
|
||||
int replstate; /* replication status if the instance is a slave */
|
||||
|
Reference in New Issue
Block a user