Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sentinel
Commits
de3a68e1
Commit
de3a68e1
authored
Oct 24, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化数据库配置
parent
fc2cd51e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
application-dev.properties
src/main/resources/application-dev.properties
+1
-1
application-pro.properties
src/main/resources/application-pro.properties
+1
-2
No files found.
src/main/resources/application-dev.properties
View file @
de3a68e1
...
@@ -6,7 +6,7 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
...
@@ -6,7 +6,7 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.test-while-idle
=
true
spring.datasource.test-while-idle
=
true
spring.datasource.test-on-borrow
=
false
spring.datasource.test-on-borrow
=
false
spring.datasource.test-on-return
=
false
spring.datasource.test-on-return
=
false
spring.datasource.validation-query
=
SELECT 1 FROM DUAL
spring.datasource.validation-query
=
select 1 from dual
spring.datasource.time-between-eviction-runs-millis
=
300000
spring.datasource.time-between-eviction-runs-millis
=
300000
spring.datasource.min-evictable-idle-time-millis
=
1800000
spring.datasource.min-evictable-idle-time-millis
=
1800000
spring.datasource.max-wait
=
10000
spring.datasource.max-wait
=
10000
...
...
src/main/resources/application-pro.properties
View file @
de3a68e1
...
@@ -3,11 +3,10 @@ spring.datasource.username=root
...
@@ -3,11 +3,10 @@ spring.datasource.username=root
spring.datasource.password
=
egolm#2018
spring.datasource.password
=
egolm#2018
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.test-while-idle
=
true
spring.datasource.test-while-idle
=
true
spring.datasource.test-on-borrow
=
false
spring.datasource.test-on-borrow
=
false
spring.datasource.test-on-return
=
false
spring.datasource.test-on-return
=
false
spring.datasource.validation-query
=
SELECT 1 FROM DUAL
spring.datasource.validation-query
=
select 1 from dual
spring.datasource.time-between-eviction-runs-millis
=
300000
spring.datasource.time-between-eviction-runs-millis
=
300000
spring.datasource.min-evictable-idle-time-millis
=
1800000
spring.datasource.min-evictable-idle-time-millis
=
1800000
spring.datasource.max-wait
=
10000
spring.datasource.max-wait
=
10000
...
...
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