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