docs: add support redis cluster

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2021-09-20 20:00:20 +08:00
parent 47222086ac
commit 83aaa37faf
2 changed files with 3 additions and 2 deletions

View File

@ -181,7 +181,7 @@ log:
stat: stat:
engine: "memory" # support memory, redis, boltdb, buntdb or leveldb engine: "memory" # support memory, redis, boltdb, buntdb or leveldb
redis: redis:
cluster: false cluster: false
addr: "localhost:6379" # if cluster is true, you may set this to "localhost:6379,localhost:6380,localhost:6381" addr: "localhost:6379" # if cluster is true, you may set this to "localhost:6379,localhost:6380,localhost:6381"
password: "" password: ""
db: 0 db: 0

View File

@ -83,7 +83,8 @@ log:
stat: stat:
engine: "memory" # support memory, redis, boltdb, buntdb or leveldb engine: "memory" # support memory, redis, boltdb, buntdb or leveldb
redis: 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: "" password: ""
db: 0 db: 0
boltdb: boltdb: