aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-11 02:43:53 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-11 02:43:53 -0800
commit2c7148cd550ebd6cd6b25223fc8cbba575758a47 (patch)
tree9515d6ced6f548325cdd183990a37a19d2031f09
parentacc0d5cd2c0294631642fe9b4db64bead721e260 (diff)
downloadseaweedfs-2c7148cd550ebd6cd6b25223fc8cbba575758a47.tar.xz
seaweedfs-2c7148cd550ebd6cd6b25223fc8cbba575758a47.zip
redis cluster: do not enable route by latency by default
-rw-r--r--weed/command/scaffold.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 600a4a8d4..2991fda69 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -174,9 +174,9 @@ addresses = [
]
password = ""
# allows reads from slave servers or the master, but all writes still go to the master
-readOnly = true
+readOnly = false
# automatically use the closest Redis server for reads
-routeByLatency = true
+routeByLatency = false
# This changes the data layout. Only add new directories. Removing/Updating will cause data loss.
superLargeDirectories = []