From 2c7148cd550ebd6cd6b25223fc8cbba575758a47 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 11 Jan 2021 02:43:53 -0800 Subject: [PATCH] redis cluster: do not enable route by latency by default --- weed/command/scaffold.go | 4 ++-- 1 file 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 = []