Commit df846deb by lenx065@gmail.com

修改配置

parent 0cf8c609
......@@ -130,12 +130,5 @@
<artifactId>live20161101</artifactId>
<version>1.0.1</version>
</dependency>
<!-- openFeign -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>3.0.3</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
spring:
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
password: TwQqm&grd$6HWBQ4
password: c8e66d96bbbe0072
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
auto-commit: true # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
idle-timeout: 10000 # 空闲连接存活最大时间,默认600000(10分钟)
idle-timeout: 600000 # 空闲连接存活最大时间,默认600000(10分钟)
pool-name: DatebookHikariCP
max-lifetime: 1800000 # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
max-lifetime: 600000 # 此属性控制池中连接的最长生命周期
connection-timeout: 30000 # 数据库连接超时时间,默认30秒,即30000
maximum-pool-size: 30
redis:
database: 5
host: 43.129.13.158
password: LEnGsVyvwzNTCkz5
host: 101.32.4.34
password: asfkifmei23
port: 6379
timeout: 30000ms
timeout: 20s
lettuce:
pool:
max-active: 8
......@@ -31,11 +30,12 @@ mybatis-plus:
db-config:
db-type: mysql
# 自定义文件上传路径
web:
upload-path: /home/live_service/img/
surroundings: pro
surroundings:
logging:
level:
org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator: info
\ No newline at end of file
org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator: trace
\ No newline at end of file
spring:
profiles:
active: test
active: dev
jackson:
serialization:
FAIL_ON_EMPTY_BEANS: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment