|
@ -19,6 +19,10 @@ func (store *RedisClusterStore) GetName() string { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (store *RedisClusterStore) Initialize(configuration util.Configuration) (err error) { |
|
|
func (store *RedisClusterStore) Initialize(configuration util.Configuration) (err error) { |
|
|
|
|
|
|
|
|
|
|
|
configuration.SetDefault("useReadOnly", false) |
|
|
|
|
|
configuration.SetDefault("routeByLatency", false) |
|
|
|
|
|
|
|
|
return store.initialize( |
|
|
return store.initialize( |
|
|
configuration.GetStringSlice("addresses"), |
|
|
configuration.GetStringSlice("addresses"), |
|
|
configuration.GetString("password"), |
|
|
configuration.GetString("password"), |
|
|