mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 00:42:43 +08:00
Support failover in cluster (experimental)
This commit is contained in:
@@ -30,6 +30,7 @@ func MakeCluster() *Cluster {
|
||||
},
|
||||
StartAsSeed: config.Properties.ClusterAsSeed,
|
||||
JoinAddress: config.Properties.ClusterSeed,
|
||||
Master: config.Properties.MasterInCluster,
|
||||
})
|
||||
if err != nil {
|
||||
logger.Error(err.Error())
|
||||
|
Reference in New Issue
Block a user