You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB

8 months ago
spring:
datasource:
dynamic:
# 设置默认的数据源或者数据源组,默认值即为 master
primary: master
seata: false
datasource:
# 主库数据源
master:
type: ${spring.datasource.type}
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${datasource.omind-base-plat.url}
username: ${datasource.omind-base-plat.username}
password: ${datasource.omind-base-plat.password}
forest:
backend: okhttp3
max-retry-count: 3 #请求失败后重试次数默认为0次不重试
max-retry-interval: 1000 #重试间隔时间
connect-timeout: 3000 #链接超时时间
timeout: 3000 # 请求超时时间
## 日志总开关,打开/关闭Forest请求/响应日志(默认为 true
log-enabled: true
## 打开/关闭Forest请求日志默认为 true
log-request: true
## 打开/关闭Forest响应状态日志默认为 true
log-response-status: true
## 打开/关闭Forest响应内容日志默认为 false
log-response-content: true
variables:
uplatAuthUrl: http://test
xxl:
job:
admin:
addresses: http://172.25.0.9:8080/xxl-job-admin
accessToken: default_token
executor:
appname: omind-scheduler-baseplat
address:
ip:
port: 18090
logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 30