.spring-boot-starter-redis.1.3.8.RELEASE.source-code.application-redis.yml Maven / Gradle / Ivy
spring:
redis:
database: 0
lettuce:
pool:
max-wait: 10000ms
max-active: 10
max-idle: 2
min-idle: 2
host: ${app.redis.url:${app.redis.host}}
port: ${app.redis.port:6379}
password: ${app.redis.password}
---
spring:
profiles: test
redis:
database: 0
lettuce:
pool:
max-active: 20
max-idle: 10
min-idle: 10
---
spring:
profiles: prod
redis:
database: 0
lettuce:
pool:
max-active: 50
max-idle: 20
min-idle: 20