Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jobs
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
曲欣亮
jobs
Commits
2ce1c995
Commit
2ce1c995
authored
Aug 06, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改连接池配置,增加validationQueryTimeout参数
Change-Id: I090159965f803d8e31446998f48d2a53a6dffe9b
parent
c35e310a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
application-dev.properties
src/main/resources/application-dev.properties
+1
-0
application-pro.properties
src/main/resources/application-pro.properties
+6
-5
application-test.properties
src/main/resources/application-test.properties
+6
-5
No files found.
src/main/resources/application-dev.properties
View file @
2ce1c995
...
...
@@ -26,5 +26,6 @@ spring.datasource.shop.password=qiyang@2013
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.22:1433;instanceName=SQLSERVER;DatabaseName=EGOLMDEV
spring.datasource.shop.driver-class-name
=
com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.shop.testWhileIdle
=
true
spring.datasource.shop.validationQueryTimeout
=
5
spring.datasource.shop.validationQuery
=
SELECT 1
spring.datasource.shop.timeBetweenEvictionRunsMillis
=
3600000
\ No newline at end of file
src/main/resources/application-pro.properties
View file @
2ce1c995
server.tomcat.max-threads
=
1000
server.tomcat.min-spare-threads
=
30
server.port
=
8088
server.context-path
=
/
server.port
=
30002
server.context-path
=
/
jobs
server.session.timeout
=
90000
server.tomcat.uri-encoding
=
utf-8
...
...
@@ -21,10 +21,11 @@ spring.datasource.schedule.validationQuery=SELECT 1
spring.datasource.schedule.timeBetweenEvictionRunsMillis
=
3600000
spring.datasource.shop.username
=
sa
spring.datasource.shop.password
=
qiyang
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.
51:56443;instanceName=SQLSERVER;DatabaseName=EGOLMSAAS
spring.datasource.shop.username
=
ERP
spring.datasource.shop.password
=
qiyang
@2013
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.
22:1433;instanceName=SQLSERVER;DatabaseName=EGOLMDEV
spring.datasource.shop.driver-class-name
=
com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.shop.testWhileIdle
=
true
spring.datasource.shop.validationQueryTimeout
=
5
spring.datasource.shop.validationQuery
=
SELECT 1
spring.datasource.shop.timeBetweenEvictionRunsMillis
=
3600000
\ No newline at end of file
src/main/resources/application-test.properties
View file @
2ce1c995
server.tomcat.max-threads
=
1000
server.tomcat.min-spare-threads
=
30
server.port
=
8088
server.context-path
=
/
server.port
=
30002
server.context-path
=
/
jobs
server.session.timeout
=
90000
server.tomcat.uri-encoding
=
utf-8
...
...
@@ -21,10 +21,11 @@ spring.datasource.schedule.validationQuery=SELECT 1
spring.datasource.schedule.timeBetweenEvictionRunsMillis
=
3600000
spring.datasource.shop.username
=
sa
spring.datasource.shop.password
=
qiyang
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.
51:56443;instanceName=SQLSERVER;DatabaseName=EGOLMSAAS
spring.datasource.shop.username
=
ERP
spring.datasource.shop.password
=
qiyang
@2013
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.
22:1433;instanceName=SQLSERVER;DatabaseName=EGOLMDEV
spring.datasource.shop.driver-class-name
=
com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.shop.testWhileIdle
=
true
spring.datasource.shop.validationQueryTimeout
=
5
spring.datasource.shop.validationQuery
=
SELECT 1
spring.datasource.shop.timeBetweenEvictionRunsMillis
=
3600000
\ No newline at end of file
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