Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JeeSpringCloudV3.0
Commits
d96053b6
Commit
d96053b6
authored
Dec 19, 2018
by
Suncos
Browse files
no commit message
parent
701d2645
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringCloud/src/main/resources/application.yml
View file @
d96053b6
...
@@ -78,6 +78,8 @@ spring:
...
@@ -78,6 +78,8 @@ spring:
# 配置一个连接在池中最小生存的时间,单位是毫秒
# 配置一个连接在池中最小生存的时间,单位是毫秒
minEvictableIdleTimeMillis
:
30000
minEvictableIdleTimeMillis
:
30000
validationQuery
:
SELECT 'x' FROM DUAL
validationQuery
:
SELECT 'x' FROM DUAL
#SqlServer要配置为 select 1
#validationQuery: select 1
testWhileIdle
:
true
testWhileIdle
:
true
testOnBorrow
:
false
testOnBorrow
:
false
testOnReturn
:
false
testOnReturn
:
false
...
...
Write
Preview
Supports
Markdown
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