复制项目
This commit is contained in:
16
config/redis.yml
Normal file
16
config/redis.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
address: [localhost:16379]
|
||||
username:
|
||||
password: openIM123
|
||||
# redis Mode, including "standalone","cluster","sentinel"
|
||||
redisMode: "standalone"
|
||||
db: 0
|
||||
maxRetry: 10
|
||||
poolSize: 100
|
||||
onlineKeyPrefix: "openim:cms-test"
|
||||
onlineKeyPrefixHashTag: false
|
||||
# Sentinel configuration (only used when redisMode is "sentinel")
|
||||
sentinelMode:
|
||||
masterName: "redis-master"
|
||||
sentinelsAddrs: ["127.0.0.1:26379", "127.0.0.1:26380", "127.0.0.1:26381"]
|
||||
routeByLatency: true
|
||||
routeRandomly: true
|
||||
Reference in New Issue
Block a user