Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-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
赵啸非
device-new-platform
Commits
6830db78
Commit
6830db78
authored
Dec 19, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改线程初始化数量
parent
00d50811
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
device-manager/src/main/resources/bootstrap.yml
device-manager/src/main/resources/bootstrap.yml
+23
-23
No files found.
device-manager/src/main/resources/bootstrap.yml
View file @
6830db78
...
...
@@ -64,34 +64,34 @@ spring:
exceptiontranslation
:
enabled
:
false
datasource
:
#
type: com.alibaba.druid.pool.DruidDataSource
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
#
type: com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
@
profiles.datasource.uri@
username
:
@
profiles.datasource.username@
password
:
@
profiles.datasource.password@
#
initial-size: 10
#
min-idle: 10
#
max-active: 20
#
# 配置获取连接等待超时的时间
#
max-wait: 60000
initial-size
:
10
min-idle
:
10
max-active
:
20
# 配置获取连接等待超时的时间
max-wait
:
60000
# 连接池
hikari
:
#连接池名
pool-name
:
DateHikariCP
#最小空闲连接数
minimum-idle
:
5
# 空闲连接存活最大时间,默认600000(10分钟)
idle-timeout
:
180000
# 连接池最大连接数,默认是10
maximum-pool-size
:
15
# 此属性控制从池返回的连接的默认自动提交行为,默认值:true
auto-commit
:
true
# 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
max-lifetime
:
1800000
# 数据库连接超时时间,默认30秒,即30000
connection-timeout
:
30000
connection-test-query
:
SELECT
1
#
hikari:
#
#连接池名
#
pool-name: DateHikariCP
#
#最小空闲连接数
#
minimum-idle: 5
#
# 空闲连接存活最大时间,默认600000(10分钟)
#
idle-timeout: 180000
#
# 连接池最大连接数,默认是10
#
maximum-pool-size: 15
#
# 此属性控制从池返回的连接的默认自动提交行为,默认值:true
#
auto-commit: true
#
# 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
#
max-lifetime: 1800000
#
# 数据库连接超时时间,默认30秒,即30000
#
connection-timeout: 30000
#
connection-test-query: SELECT 1
mybatis
:
root-path
:
com.mortals
...
...
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