refactor: increase hikari.maximum-pool-size.

This commit is contained in:
liqiang-fit2cloud 2023-05-04 15:03:03 +08:00
parent 7046725e64
commit 45302e3759
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ spring.cloud.gateway.httpclient.response-timeout=300000
spring.cloud.gateway.httpclient.websocket.max-frame-payload-length=10485760
#
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.maximum-pool-size=100
spring.datasource.hikari.maximum-pool-size=200
spring.datasource.hikari.minimum-idle=10
spring.datasource.hikari.auto-commit=true
spring.datasource.hikari.idle-timeout=600000

View File

@ -1,6 +1,6 @@
# Hikari
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.maximum-pool-size=100
spring.datasource.hikari.maximum-pool-size=200
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=100
spring.datasource.quartz.hikari.maximum-pool-size=200
spring.datasource.quartz.hikari.minimum-idle=10
spring.datasource.quartz.hikari.idle-timeout=600000
spring.datasource.quartz.hikari.auto-commit=true