style: 把application.yml 分段隔开
Signed-off-by: dhb52 <dhb52@126.com>
This commit is contained in:
parent
dcb2a008d6
commit
e3eccc2775
@ -2,27 +2,17 @@ server:
|
||||
port: 8080
|
||||
servlet:
|
||||
context-path: /easy-retry
|
||||
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
datasource:
|
||||
name: easy_retry
|
||||
## mysql
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/easy_retry?useSSL=false&characterEncoding=utf8&useUnicode=true
|
||||
url: jdbc:mysql://localhost:3306/easy_retry?useSSL=false&characterEncoding=utf8&useUnicode=true
|
||||
username: root
|
||||
password: root
|
||||
## postgres
|
||||
# driver-class-name: org.postgresql.Driver
|
||||
# url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
|
||||
# username: root
|
||||
# password: root
|
||||
## Oracle
|
||||
# driver-class-name: oracle.jdbc.OracleDriver
|
||||
# url: jdbc:oracle:thin:@//localhost:1521/XEPDB1
|
||||
# username: root
|
||||
# password: root
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
hikari:
|
||||
connection-timeout: 30000
|
||||
minimum-idle: 5
|
||||
@ -31,6 +21,7 @@ spring:
|
||||
idle-timeout: 30000
|
||||
pool-name: easy_retry
|
||||
max-lifetime: 1800000
|
||||
connection-test-query: SELECT 1
|
||||
web:
|
||||
resources:
|
||||
static-locations: classpath:admin/
|
||||
@ -43,15 +34,12 @@ mybatis-plus:
|
||||
capital-mode: false
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
# table-prefix: er_
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
cache-enabled: true
|
||||
|
||||
logging:
|
||||
config: classpath:logback-boot.xml
|
||||
# level:
|
||||
# ## 方便调试 SQL
|
||||
# com.aizuda.easy.retry.template.datasource.persistence.mapper: debug
|
||||
config: classpath:logback-boot.xml
|
||||
|
||||
easy-retry:
|
||||
retry-pull-page-size: 1000 # 拉取重试数据的每批次的大小
|
||||
|
Loading…
Reference in New Issue
Block a user