From 04662126bb9374b355d4bf85ae8a04548b2e9283 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 4 Oct 2021 01:04:27 -0700 Subject: [PATCH] add redis3 --- weed/command/scaffold/filer.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml index caf9d173d..aeb8a5b67 100644 --- a/weed/command/scaffold/filer.toml +++ b/weed/command/scaffold/filer.toml @@ -185,6 +185,28 @@ routeByLatency = false # This changes the data layout. Only add new directories. Removing/Updating will cause data loss. superLargeDirectories = [] +[redis3] # beta +enabled = false +address = "localhost:6379" +password = "" +database = 0 + +[redis_cluster3] # beta +enabled = false +addresses = [ + "localhost:30001", + "localhost:30002", + "localhost:30003", + "localhost:30004", + "localhost:30005", + "localhost:30006", +] +password = "" +# allows reads from slave servers or the master, but all writes still go to the master +readOnly = false +# automatically use the closest Redis server for reads +routeByLatency = false + [etcd] enabled = false servers = "localhost:2379"