From 83aaa37faf03aac6c21477a761c26a16c451888d Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 20 Sep 2021 20:00:20 +0800 Subject: [PATCH] docs: add support redis cluster Signed-off-by: Bo-Yi Wu --- README.md | 2 +- config/testdata/config.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c312a6..77299e5 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ log: stat: engine: "memory" # support memory, redis, boltdb, buntdb or leveldb redis: - cluster: false + cluster: false addr: "localhost:6379" # if cluster is true, you may set this to "localhost:6379,localhost:6380,localhost:6381" password: "" db: 0 diff --git a/config/testdata/config.yml b/config/testdata/config.yml index 2a071d1..daa3b93 100644 --- a/config/testdata/config.yml +++ b/config/testdata/config.yml @@ -83,7 +83,8 @@ log: stat: engine: "memory" # support memory, redis, boltdb, buntdb or leveldb redis: - addr: "localhost:6379" + cluster: false + addr: "localhost:6379" # if cluster is true, you may set this to "localhost:6379,localhost:6380,localhost:6381" password: "" db: 0 boltdb: