Files
open-im-server/config/redis.yml
T

15 lines
402 B
YAML
Raw Normal View History

2025-06-18 14:31:09 +08:00
address: [localhost:16379]
username:
2024-04-19 22:23:08 +08:00
password: openIM123
2025-06-18 14:31:09 +08:00
# redis Mode, including "standalone","cluster","sentinel"
redisMode: "standalone"
2024-04-19 22:23:08 +08:00
db: 0
maxRetry: 10
poolSize: 100
2025-06-18 14:31:09 +08:00
# 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