https://www.cnblogs.com/taiyonghai/p/9454764.html
redis:
#数据库索引
database: 0
host: 127.0.0.1
port: 6379
password:
#连接超时时间
timeout: 5000
lettuce:
pool:
# 最大空闲连接
max-idle: 8
# 最小空闲链接
min-idle: 0
# 最大连接数(负数表示没有限制)
max-active: 8
# 最大阻塞等待时间(负数表示没有限制)
max-wait: 0
```