X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/87faf90696d549e69a8864026dfe6fc435eeec0d..571e257db12eaa6cdd47811f5663ac1003e32b1b:/src/config.c?ds=sidebyside diff --git a/src/config.c b/src/config.c index 533a2a57..71a800a1 100644 --- a/src/config.c +++ b/src/config.c @@ -298,13 +298,6 @@ void loadServerConfigFromString(char *config) { err = "Target command name already exists"; goto loaderr; } } - } else if (!strcasecmp(argv[0],"cluster-enabled") && argc == 2) { - if ((server.cluster_enabled = yesnotoi(argv[1])) == -1) { - err = "argument must be 'yes' or 'no'"; goto loaderr; - } - } else if (!strcasecmp(argv[0],"cluster-config-file") && argc == 2) { - zfree(server.cluster.configfile); - server.cluster.configfile = zstrdup(argv[1]); } else if (!strcasecmp(argv[0],"lua-time-limit") && argc == 2) { server.lua_time_limit = strtoll(argv[1],NULL,10); } else if (!strcasecmp(argv[0],"slowlog-log-slower-than") &&