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