2025-06-17 17:41:00 +08:00

15 lines
400 B
YAML

address: [localhost:16379]
username:
password: openIM123
# redis Mode, including "standalone","cluster","sentinel"
redisMode: "sentinel"
db: 0
maxRetry: 10
poolSize: 100
# 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