mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 18:21:21 +00:00
Slave removal: slave -> replica in redis.conf and output buffer option.
This commit is contained in:
@ -1991,6 +1991,7 @@ int getClientType(client *c) {
|
||||
int getClientTypeByName(char *name) {
|
||||
if (!strcasecmp(name,"normal")) return CLIENT_TYPE_NORMAL;
|
||||
else if (!strcasecmp(name,"slave")) return CLIENT_TYPE_SLAVE;
|
||||
else if (!strcasecmp(name,"replica")) return CLIENT_TYPE_SLAVE;
|
||||
else if (!strcasecmp(name,"pubsub")) return CLIENT_TYPE_PUBSUB;
|
||||
else if (!strcasecmp(name,"master")) return CLIENT_TYPE_MASTER;
|
||||
else return -1;
|
||||
|
Reference in New Issue
Block a user