refactor: 修改数据库连接池默认配置 (#5065)
This commit is contained in:
parent
61648435e8
commit
6b65765d01
|
@ -4,10 +4,9 @@ server.port=8081
|
|||
|
||||
# Hikari
|
||||
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
||||
spring.datasource.hikari.minimum-idle=5
|
||||
spring.datasource.hikari.maximum-pool-size=30
|
||||
spring.datasource.hikari.maximum-pool-size=100
|
||||
spring.datasource.hikari.auto-commit=true
|
||||
spring.datasource.hikari.idle-timeout=30000
|
||||
spring.datasource.hikari.idle-timeout=10000
|
||||
spring.datasource.hikari.pool-name=DatebookHikariCP
|
||||
spring.datasource.hikari.max-lifetime=1800000
|
||||
spring.datasource.hikari.connection-timeout=30000
|
||||
|
|
Loading…
Reference in New Issue