修改 redis 配置
This commit is contained in:
@@ -25,19 +25,7 @@ spring:
|
||||
max-file-size: 10240MB
|
||||
max-request-size: 10240MB
|
||||
enabled: true
|
||||
redis:
|
||||
open: true # 是否开启redis缓存 true开启 false关闭
|
||||
database: 0
|
||||
host: 127.0.0.1 # Redis服务器地址
|
||||
port: 6379
|
||||
password: 111111 # 密码(默认为空)
|
||||
timeout: 6000ms # 连接超时时长(毫秒)
|
||||
jedis:
|
||||
pool:
|
||||
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
|
||||
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-idle: 10 # 连接池中的最大空闲连接
|
||||
min-idle: 5 # 连接池中的最小空闲连接
|
||||
|
||||
mvc:
|
||||
throw-exception-if-no-handler-found: true
|
||||
# pathmatch:
|
||||
|
||||
Reference in New Issue
Block a user