mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
default to false in scaffold.go
This commit is contained in:
parent
62b1a346ef
commit
fcbd04c425
|
@ -136,8 +136,8 @@ addresses = [
|
|||
"localhost:30006",
|
||||
]
|
||||
password = ""
|
||||
readOnly = true
|
||||
routeByLatency = true
|
||||
readOnly = false
|
||||
routeByLatency = false
|
||||
|
||||
[etcd]
|
||||
enabled = false
|
||||
|
|
|
@ -20,9 +20,6 @@ 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