数据库连接池切换为hikari

This commit is contained in:
2026-06-12 16:58:59 +08:00
parent 56f0e4c509
commit 7313a8fe6f
9 changed files with 77 additions and 32 deletions
@@ -39,6 +39,14 @@
<groupId>org.xujun</groupId>
<artifactId>xtools-app-monitor-health</artifactId>
</dependency>
<!--<dependency>-->
<!-- <groupId>org.xujun</groupId>-->
<!-- <artifactId>xtools-boot-db-druid</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>org.xujun</groupId>
<artifactId>xtools-boot-db-hikari</artifactId>
</dependency>
<!-- 可选模块 end -->
<!-- xtools-cloud-alibaba-nacos -->
@@ -31,7 +31,8 @@ spring:
# Boot配置文件
- nacos:application-boot-base.yaml?refreshEnabled=true&group=BOOT
- nacos:application-boot-db.yaml?refreshEnabled=true&group=BOOT
- nacos:application-boot-druid.yaml?refreshEnabled=true&group=BOOT
# - nacos:application-boot-druid.yaml?refreshEnabled=true&group=BOOT
- nacos:application-boot-hikari.yaml?refreshEnabled=true&group=BOOT
- nacos:application-boot-knife4j.yaml?refreshEnabled=true&group=BOOT
- nacos:application-boot-log.yaml?refreshEnabled=true&group=BOOT
- nacos:application-boot-mybatis-plus.yaml?refreshEnabled=true&group=BOOT