Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
log-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
log-platform
Commits
34b418f9
Commit
34b418f9
authored
Dec 24, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改测试链接池为hikari
parent
c8e3f264
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
log-manager/src/main/resources/bootstrap.yml
log-manager/src/main/resources/bootstrap.yml
+19
-1
No files found.
log-manager/src/main/resources/bootstrap.yml
View file @
34b418f9
...
...
@@ -66,7 +66,25 @@ spring:
testOnBorrow
:
false
timeBetweenEvictionRunsMillis
:
60000
minEvictableIdleTimeMillis
:
300000
type
:
com.alibaba.druid.pool.DruidDataSource
# 连接池
hikari
:
#连接池名
pool-name
:
DateHikariCP
#最小空闲连接数
minimum-idle
:
5
# 空闲连接存活最大时间,默认600000(10分钟)
idle-timeout
:
180000
# 连接池最大连接数,默认是10
maximum-pool-size
:
50
# 此属性控制从池返回的连接的默认自动提交行为,默认值:true
auto-commit
:
true
# 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
max-lifetime
:
1800000
# 数据库连接超时时间,默认30秒,即30000
connection-timeout
:
30000
connection-test-query
:
SELECT
1
#type: com.alibaba.druid.pool.DruidDataSource
type
:
com.zaxxer.hikari.HikariDataSource
#driver-class-name: com.p6spy.engine.spy.P6SpyDriver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
@
profiles.datasource.uri@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment