修改:定时任务xxljob拆分独立服务
This commit is contained in:
@@ -136,43 +136,12 @@ security:
|
||||
- /data/approveParamLibrary
|
||||
- /ws/data/modelTraining
|
||||
- /data/batchUpdatePermission
|
||||
- /xxlJob/*
|
||||
|
||||
data:
|
||||
storage-monitor:
|
||||
cron: 0 0 0/1 * * ?
|
||||
|
||||
|
||||
# xxljob 配置开始
|
||||
# xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
|
||||
xxl:
|
||||
job:
|
||||
admin:
|
||||
# 调度中心地址列表
|
||||
addresses: http://192.168.65.161:7110/xxl-job-admin
|
||||
# 调度中心访问令牌
|
||||
accessToken: default_token
|
||||
# xxl-job 超时时间(秒),默认3秒
|
||||
timeout: 3
|
||||
executor:
|
||||
# 执行器是否启用,默认true
|
||||
enabled: true
|
||||
# 执行器应用名称 服务名-job-executor
|
||||
appname: data-job-executor
|
||||
# 执行器注册地址:默认使用address注册,若为null则使用ip:port注册
|
||||
address:
|
||||
# 执行器IP
|
||||
ip: ${XXL_JOB_EXECUTOR_IP:}
|
||||
# 执行器端口,为了好记,web服务端口+1000
|
||||
port: 8104
|
||||
# 执行器日志路径
|
||||
logpath: /home/app/data/xxljob
|
||||
# 执行器日志保留天数
|
||||
logretentiondays: 14
|
||||
# 执行器排除扫描的包,多个用逗号分隔,如 "org.package01" 或 "org.package01,org.package02"
|
||||
excludedpackage:
|
||||
# xxljob 配置结束
|
||||
|
||||
|
||||
tempNgUrl: http://192.168.65.161:10031/storage/
|
||||
|
||||
# minio 合并超时时间 s
|
||||
|
||||
Reference in New Issue
Block a user