mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
Cluster: the cluster state structure is now heap allocated.
This commit is contained in:
@ -375,8 +375,8 @@ void loadServerConfigFromString(char *config) {
|
||||
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]);
|
||||
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") &&
|
||||
|
Reference in New Issue
Block a user