fix redis 缓存客户端,包括jedis,redisson,spring-data-redis

This commit is contained in:
wuwenbin
2020-05-11 23:02:34 +08:00
parent cce62c43f4
commit ee735c0ec4
7 changed files with 359 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
redis.pool.maxIdle=200
redis.pool.minIdle=10
#redis.pool.maxActive=600
redis.pool.maxTotal=1024
redis.pool.maxWaitMillis=3000
redis.pool.minEvictableIdleTimeMillis=300000
redis.pool.numTestsPerEvictionRun=1024
redis.pool.timeBetweenEvictionRunsMillis=30000
redis.pool.testOnBorrow=true
redis.pool.testWhileIdle=true
redis.pool.testOnReturn=true
#Redis 配置
spring.redis.sentinel.master=
spring.redis.sentinel.nodes=
spring.redis.database=