aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-10-04 01:04:27 -0700
committerChris Lu <chris.lu@gmail.com>2021-10-04 01:04:27 -0700
commit04662126bb9374b355d4bf85ae8a04548b2e9283 (patch)
tree9463b643f72d84a0f4591ffe7dcba71e082eb665
parent2b9aab344228cfbb0ba3da5f410eb76bd41d18ea (diff)
downloadseaweedfs-04662126bb9374b355d4bf85ae8a04548b2e9283.tar.xz
seaweedfs-04662126bb9374b355d4bf85ae8a04548b2e9283.zip
add redis3
-rw-r--r--weed/command/scaffold/filer.toml22
1 files changed, 22 insertions, 0 deletions
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"