Skip to content

Commit

Permalink
fix: 修复插件方式部署客户端时上报资源参数问题 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambition9186 authored Aug 9, 2024
1 parent 659f2c1 commit d2073c5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build/nodemanPlugin/etc/bkbscp.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,16 @@ config_matches:
feed_addrs:
- {{ Feed服务地址 }}

enable_resource: true

# 是否启用P2P文件下载加速
{%- if P2P文件下载加速 %}
enable_p2p_download: true
{%- else %}
enable_p2p_download: false
{%- endif %}

# 是否上报资源
{% if 是否上报资源 %}
enable_resource: true
{% else %}
enable_resource: false
{% endif %}
5 changes: 5 additions & 0 deletions build/nodemanPlugin/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ config_templates:
type: boolean
required: true
default: false
是否上报资源:
title: 是否上报资源
type: boolean
required: true
default: true
control:
start: "./start.sh bkbscp"
stop: "./stop.sh bkbscp"
Expand Down

0 comments on commit d2073c5

Please sign in to comment.