build: 调整默认最大数据库连接池数量

This commit is contained in:
CaptainB 2023-04-19 12:26:31 +08:00 committed by 刘瑞斌
parent 606a67be81
commit d431374797
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Hikari
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.maximum-pool-size=20
spring.datasource.hikari.maximum-pool-size=50
spring.datasource.hikari.minimum-idle=10
spring.datasource.hikari.idle-timeout=600000
spring.datasource.hikari.auto-commit=true
@ -12,7 +12,7 @@ spring.datasource.hikari.connection-test-query=SELECT 1
spring.datasource.quartz.url=${spring.datasource.url}
spring.datasource.quartz.username=${spring.datasource.username}
spring.datasource.quartz.password=${spring.datasource.password}
spring.datasource.quartz.hikari.maximum-pool-size=20
spring.datasource.quartz.hikari.maximum-pool-size=50
spring.datasource.quartz.hikari.minimum-idle=10
spring.datasource.quartz.hikari.idle-timeout=600000
spring.datasource.quartz.hikari.auto-commit=true