添加redis配置
This commit is contained in:
parent
1ffa14d01a
commit
3ed20009d7
|
|
@ -55,3 +55,16 @@ spring:
|
|||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
# redis配置
|
||||
redis:
|
||||
database: 5
|
||||
host: db.sinosoftec.com
|
||||
port: 6379
|
||||
password: sinosoft@ec~123
|
||||
timeout: 6000ms # 连接超时时长(毫秒)
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
|
||||
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-idle: 10 # 连接池中的最大空闲连接
|
||||
min-idle: 5 # 连接池中的最小空闲连接
|
||||
Loading…
Reference in New Issue