Commit 1775af20 by jscat

nyx javaapp: 功能更新

1. 调整生产版本的数据库配置 application-production.yml
parent 98c08834
################################################################################################################# ss:
#################################################################################################################
# Data source
# Production database connections can also be auto-configured using a pooling DataSource.
# Here’s the algorithm for choosing a specific implementation:
# * We prefer the Tomcat pooling DataSource for its performance and concurrency,
# so if that is available we always choose it.
# * Otherwise, if HikariCP is available we will use it.
# * If neither the Tomcat pooling datasource nor HikariCP are available and if Commons DBCP is available
# we will use it, but we don’t recommend it in production and its support is deprecated.
# * Lastly, if Commons DBCP2 is available we will use it.
# If you use the spring-boot-starter-jdbc or spring-boot-starter-data-jpa ‘starters’ you will automatically
# get a dependency to tomcat-jdbc.
# * You can bypass that algorithm completely and specify the connection pool to use via
# the spring.datasource.type property. This is especially important if you are running your
# application in a Tomcat container as tomcat-jdbc is provided by default.
#################################################################################################################
ss: ss:
tt: rockwell_key,rockwell_msg,rockwell_user tt: rockwell_key,rockwell_msg,rockwell_user
spring: spring:
datasource: datasource:
rockwell_key: rockwell_key:
url: jdbc:mysql://47.99.110.89:3306/rockwell_key url: jdbc:mysql://47.99.110.89:3306/rockwell_key?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: rockwell_dev username: rockwell_dev
password: 123456 password: 123456
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
minimum-idle: 5 hikari:
maximum-pool-size: 15 minimum-idle: 10
auto-commit: true maximum-pool-size: 60
idle-timeout: 30000 validation-timeout: 3000
pool-name: DatebookHikariCP auto-commit: true
max-lifetime: 120000 idle-timeout: 60000
connection-timeout: 30000 max-lifetime: 100000
connection-test-query: SELECT 1 connection-timeout: 30000
connection-test-query: SELECT 1
rockwell_msg: rockwell_msg:
url: jdbc:mysql://47.99.110.89:3306/rockwell_msg url: jdbc:mysql://47.99.110.89:3306/rockwell_msg?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: rockwell_dev username: rockwell_dev
password: 123456 password: 123456
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
minimum-idle: 5 hikari:
maximum-pool-size: 15 minimum-idle: 10
auto-commit: true maximum-pool-size: 60
idle-timeout: 30000 validation-timeout: 3000
pool-name: DatebookHikariCP auto-commit: true
max-lifetime: 120000 idle-timeout: 60000
connection-timeout: 30000 max-lifetime: 100000
connection-test-query: SELECT 1 connection-timeout: 30000
connection-test-query: SELECT 1
rockwell_user: rockwell_user:
url: jdbc:mysql://47.99.110.89:3306/rockwell_user url: jdbc:mysql://47.99.110.89:3306/rockwell_user?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: rockwell_dev username: rockwell_dev
password: 123456 password: 123456
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
minimum-idle: 5 hikari:
maximum-pool-size: 15 minimum-idle: 10
auto-commit: true maximum-pool-size: 60
idle-timeout: 30000 validation-timeout: 3000
pool-name: DatebookHikariCP auto-commit: true
max-lifetime: 120000 idle-timeout: 60000
connection-timeout: 30000 max-lifetime: 100000
connection-test-query: SELECT 1 connection-timeout: 30000
connection-test-query: SELECT 1
aliyun: aliyun:
oss: oss:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论