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
JeeSpringCloud
Commits
3d3dede1
Commit
3d3dede1
authored
Dec 19, 2018
by
Suncos
Browse files
no commit message
parent
0898109c
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringCloud/jeespring-web/src/main/resources/application.yml
View file @
3d3dede1
...
@@ -86,6 +86,8 @@ spring:
...
@@ -86,6 +86,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