mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 07:20:44 +01:00
default redis reads options
details in https://github.com/chrislusf/seaweedfs/pull/1165
This commit is contained in:
1 parent
fcbd04c425
commit
a9b1ee18af
2 files changed
+7
-2
No files matched your search
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user