redis-springboot-哨兵模式-yml的配置文件

yml 配置文件 哨兵模式

spring:
  redis:
    password: 123456
    sentinel:
      master: mymaster
      nodes: 47.98.217.106:26379,47.98.217.109:26380,47.98.217.109:26381
    timeout: 20000
    database: 0
    jedis:
      pool:
        max-active: 300
        max-wait: -1
        max-idle: 100
        min-idle: 20

你可能感兴趣的:(redis,redis)