Fix typo in server.h (#7921)
This commit is contained in:
parent
19418b6b28
commit
786d6d55cf
@ -214,7 +214,7 @@ extern int configOOMScoreAdjValuesDefaults[CONFIG_OOM_COUNT];
|
|||||||
#define AOF_WAIT_REWRITE 2 /* AOF waits rewrite to start appending */
|
#define AOF_WAIT_REWRITE 2 /* AOF waits rewrite to start appending */
|
||||||
|
|
||||||
/* Client flags */
|
/* Client flags */
|
||||||
#define CLIENT_SLAVE (1<<0) /* This client is a repliaca */
|
#define CLIENT_SLAVE (1<<0) /* This client is a replica */
|
||||||
#define CLIENT_MASTER (1<<1) /* This client is a master */
|
#define CLIENT_MASTER (1<<1) /* This client is a master */
|
||||||
#define CLIENT_MONITOR (1<<2) /* This client is a slave monitor, see MONITOR */
|
#define CLIENT_MONITOR (1<<2) /* This client is a slave monitor, see MONITOR */
|
||||||
#define CLIENT_MULTI (1<<3) /* This client is in a MULTI context */
|
#define CLIENT_MULTI (1<<3) /* This client is in a MULTI context */
|
||||||
@ -1967,7 +1967,7 @@ void addACLLogEntry(client *c, int reason, int keypos, sds username);
|
|||||||
#define ZADD_INCR (1<<0) /* Increment the score instead of setting it. */
|
#define ZADD_INCR (1<<0) /* Increment the score instead of setting it. */
|
||||||
#define ZADD_NX (1<<1) /* Don't touch elements not already existing. */
|
#define ZADD_NX (1<<1) /* Don't touch elements not already existing. */
|
||||||
#define ZADD_XX (1<<2) /* Only touch elements already existing. */
|
#define ZADD_XX (1<<2) /* Only touch elements already existing. */
|
||||||
#define ZADD_GT (1<<7) /* Only update existing when new scores are higher. */
|
#define ZADD_GT (1<<7) /* Only update existing when new scores are higher. */
|
||||||
#define ZADD_LT (1<<8) /* Only update existing when new scores are lower. */
|
#define ZADD_LT (1<<8) /* Only update existing when new scores are lower. */
|
||||||
|
|
||||||
/* Output flags. */
|
/* Output flags. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user