#spring: # data: # redis: # # Redis服务器地址 # host: 192.168.100.32 # # Redis服务器端口 # port: 9736 # # Redis数据库索引 # database: 5 # # Redis服务器密码(注意转义字符处理) # password: "6E6985E1F7CB40F24A\\." # # 连接超时时间 # timeout: 30s # # 客户端名称 # client-name: # lettuce: # pool: # # 连接池中的最小空闲连接 # min-idle: 16 # # 连接池中的最大空闲连接 # max-idle: 16 # # 连接池的最大数据库连接数 # max-active: 16 # # 连接池最大阻塞等待时间(使用负值表示没有限制) # max-wait: -1ms # # 关闭超时时间 # shutdown-timeout: 100ms # cache: # type: redis # redis: # # 缓存过期时间(7天) # time-to-live: 604800000 # # 缓存键前缀 # key-prefix: cache # # 是否使用键前缀 # use-key-prefix: true # # 是否缓存空值 # cache-null-values: true