centralized cluster config file name. Assigned slots in CLUSTER NODES output and in cluster config file.

This commit is contained in:
antirez
2011-03-30 17:41:13 +02:00
parent 4b72c5617f
commit ef21ab960e
3 changed files with 38 additions and 11 deletions

View File

@ -841,6 +841,7 @@ void initServerConfig() {
server.shutdown_asap = 0;
server.cache_flush_delay = 0;
server.cluster_enabled = 0;
server.cluster.configfile = zstrdup("nodes.conf");
updateLRUClock();
resetServerSaveParams();