mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
set default
This commit is contained in:
parent
cd47112c40
commit
62b1a346ef
|
@ -19,6 +19,10 @@ func (store *RedisClusterStore) GetName() string {
|
|||
}
|
||||
|
||||
func (store *RedisClusterStore) Initialize(configuration util.Configuration) (err error) {
|
||||
|
||||
configuration.SetDefault("useReadOnly", false)
|
||||
configuration.SetDefault("routeByLatency", false)
|
||||
|
||||
return store.initialize(
|
||||
configuration.GetStringSlice("addresses"),
|
||||
configuration.GetString("password"),
|
||||
|
|
Loading…
Reference in a new issue