|
|
@ -20,8 +20,8 @@ func (store *RedisCluster2Store) GetName() string { |
|
|
|
|
|
|
|
func (store *RedisCluster2Store) Initialize(configuration util.Configuration, prefix string) (err error) { |
|
|
|
|
|
|
|
configuration.SetDefault(prefix+"useReadOnly", true) |
|
|
|
configuration.SetDefault(prefix+"routeByLatency", true) |
|
|
|
configuration.SetDefault(prefix+"useReadOnly", false) |
|
|
|
configuration.SetDefault(prefix+"routeByLatency", false) |
|
|
|
|
|
|
|
return store.initialize( |
|
|
|
configuration.GetStringSlice(prefix+"addresses"), |
|
|
|