aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2019-12-20 20:56:34 -0800
committerGitHub <noreply@github.com>2019-12-20 20:56:34 -0800
commitcd47112c403cfcf448da8f0b172749671c6ba02a (patch)
treed27b8889183e79918f8c74058302902828c1bc19 /weed/command/scaffold.go
parent573b74f24fdd64437b5b06e88c1bd4e75233f6c2 (diff)
parentf934a85d58c99cb43a0532fc34598069e036aa1f (diff)
downloadseaweedfs-cd47112c403cfcf448da8f0b172749671c6ba02a.tar.xz
seaweedfs-cd47112c403cfcf448da8f0b172749671c6ba02a.zip
Merge pull request #1165 from dqsully/master
Add readOnly and routeByLatency options to Redis Cluster Store
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 6ad8effc2..eb97af91c 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -136,6 +136,8 @@ addresses = [
"localhost:30006",
]
password = ""
+readOnly = true
+routeByLatency = true
[etcd]
enabled = false