异步化 Redis MQ 的初始化,提升启动速度

This commit is contained in:
YunaiV
2022-11-12 20:57:28 +08:00
parent c5b547e0f3
commit 1819e0e1d6
2 changed files with 9 additions and 1 deletions

View File

@ -30,7 +30,7 @@ spring:
multi-statement-allow: true
dynamic: # 多数据源配置
druid: # Druid 【连接池】相关的全局配置
initial-size: 5 # 初始连接数
initial-size: 1 # 初始连接数
min-idle: 10 # 最小连接池数量
max-active: 20 # 最大连接池数量
max-wait: 600000 # 配置获取连接等待超时的时间,单位:毫秒
@ -171,6 +171,7 @@ logging:
cn.iocoder.yudao.module.member.dal.mysql: debug
cn.iocoder.yudao.module.trade.dal.mysql: debug
cn.iocoder.yudao.module.promotion.dal.mysql: debug
debug: false
--- #################### 微信公众号、小程序相关配置 ####################
wx: