Commit 360d0772 authored by 赵啸非's avatar 赵啸非

修正redis 最大连接数

parent 4a9e8a31
...@@ -27,10 +27,11 @@ spring: ...@@ -27,10 +27,11 @@ spring:
password: @profiles.redis.password@ password: @profiles.redis.password@
database: @profiles.redis.database@ database: @profiles.redis.database@
timeout: 30000 timeout: 30000
lettuce:
pool: pool:
max-idle: 100 max-idle: 50
min-idle: 50 min-idle: 20
max-active: 500 max-active: 100
max-wait: 5000 max-wait: 5000
# sentinel: # sentinel:
# master: mymaster # master: mymaster
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment