Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sequoia_score
Overview
Overview
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
mark
sequoia_score
Commits
df846deb
Commit
df846deb
authored
Jul 22, 2021
by
lenx065@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
0cf8c609
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
20 deletions
+12
-20
pom.xml
score-common/pom.xml
+0
-8
application-test.yml
score-common/src/main/resources/config/application-test.yml
+11
-11
application.yml
score-common/src/main/resources/config/application.yml
+1
-1
No files found.
score-common/pom.xml
View file @
df846deb
...
@@ -130,12 +130,5 @@
...
@@ -130,12 +130,5 @@
<artifactId>
live20161101
</artifactId>
<artifactId>
live20161101
</artifactId>
<version>
1.0.1
</version>
<version>
1.0.1
</version>
</dependency>
</dependency>
<!-- openFeign -->
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
<version>
3.0.3
</version>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
score-common/src/main/resources/config/application-test.yml
View file @
df846deb
spring
:
spring
:
datasource
:
datasource
:
url
:
jdbc:mysql://
43.129.13.158
:3306/sequoia_score?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://
101.32.4.34
:3306/sequoia_score?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username
:
root
username
:
root
password
:
TwQqm&grd$6HWBQ4
password
:
c8e66d96bbbe0072
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
hikari
:
hikari
:
auto-commit
:
true
# 此属性控制从池返回的连接的默认自动提交行为,默认值:true
auto-commit
:
true
# 此属性控制从池返回的连接的默认自动提交行为,默认值:true
idle-timeout
:
1
0000
# 空闲连接存活最大时间,默认600000(10分钟)
idle-timeout
:
60
0000
# 空闲连接存活最大时间,默认600000(10分钟)
pool-name
:
DatebookHikariCP
pool-name
:
DatebookHikariCP
max-lifetime
:
1800000
# 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
max-lifetime
:
600000
# 此属性控制池中连接的最长生命周期
connection-timeout
:
30000
# 数据库连接超时时间,默认30秒,即30000
connection-timeout
:
30000
# 数据库连接超时时间,默认30秒,即30000
maximum-pool-size
:
30
maximum-pool-size
:
30
redis
:
redis
:
database
:
5
database
:
5
host
:
43.129.13.158
host
:
101.32.4.34
password
:
LEnGsVyvwzNTCkz5
password
:
asfkifmei23
port
:
6379
port
:
6379
timeout
:
30000m
s
timeout
:
20
s
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
8
max-active
:
8
...
@@ -31,11 +30,12 @@ mybatis-plus:
...
@@ -31,11 +30,12 @@ mybatis-plus:
db-config
:
db-config
:
db-type
:
mysql
db-type
:
mysql
# 自定义文件上传路径
web
:
web
:
upload-path
:
/home/live_service/img/
upload-path
:
/home/live_service/img/
surroundings
:
pro
surroundings
:
logging
:
logging
:
level
:
level
:
org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
:
info
org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
:
trace
\ No newline at end of file
\ No newline at end of file
score-common/src/main/resources/config/application.yml
View file @
df846deb
spring
:
spring
:
profiles
:
profiles
:
active
:
test
active
:
dev
jackson
:
jackson
:
serialization
:
serialization
:
FAIL_ON_EMPTY_BEANS
:
false
FAIL_ON_EMPTY_BEANS
:
false
...
...
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