refactor: 代码优化

This commit is contained in:
郝先瑞
2023-05-11 07:49:20 +08:00
parent 11160717c3
commit d430345315
6 changed files with 27 additions and 24 deletions

View File

@@ -11,17 +11,20 @@ spring:
data:
redis:
database: 6
host: www.youlai.tech
host: 47.117.115.107
port: 6379
password: 123456
timeout: 10s
lettuce:
pool:
min-idle: 0
max-idle: 8
# 连接池最大连接数 默认8 ,负数表示没有限制
max-active: 8
max-wait: -1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制) 默认-1
max-wait: -1
# 连接池中的最大空闲连接 默认8
max-idle: 8
# 连接池中的最小空闲连接 默认0
min-idle: 0
mybatis-plus:
global-config:
db-config: