Skip to content

Commit

Permalink
feat: add disableShared for client to disable shared data with other …
Browse files Browse the repository at this point in the history
…peers (#320)

Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Sep 14, 2024
1 parent 95afabc commit 10ece27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/dragonfly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: dragonfly
description: Dragonfly is an intelligent P2P based image and file distribution system
icon: https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/docs/images/logo/dragonfly.svg
type: application
version: 1.2.9
version: 1.2.10
appVersion: 2.1.56
keywords:
- dragonfly
Expand All @@ -27,7 +27,7 @@ sources:

annotations:
artifacthub.io/changes: |
- Add X-Dragonfly-Use-P2P comment for proxy rules in dfdaemon.
- Add disableShared for client to disable shared data for other peers.
artifacthub.io/links: |
- name: Chart Source
Expand Down
1 change: 1 addition & 0 deletions charts/dragonfly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ helm delete dragonfly --namespace dragonfly-system
| client.config.storage.keep | bool | `false` | keep indicates whether keep the task's metadata and content when the dfdaemon restarts. |
| client.config.storage.readBufferSize | int | `131072` | readBufferSize is the buffer size for reading piece from disk, default is 128KB. |
| client.config.storage.writeBufferSize | int | `131072` | writeBufferSize is the buffer size for writing piece to disk, default is 128KB. |
| client.config.upload.disableShared | bool | `false` | disableShared indicates whether disable to share data with other peers. |
| client.config.upload.rateLimit | string | `"10GiB"` | rateLimit is the default rate limit of the upload speed in GiB/Mib/Kib per second, default is 10GiB/s. |
| client.config.upload.server.port | int | `4000` | port is the port to the grpc server. |
| client.config.verbose | bool | `true` | verbose prints log. |
Expand Down
2 changes: 2 additions & 0 deletions charts/dragonfly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,8 @@ client:
port: 4000
## ip is the listen ip of the grpc server.
# ip: ""
# -- disableShared indicates whether disable to share data with other peers.
disableShared: false
# -- rateLimit is the default rate limit of the upload speed in GiB/Mib/Kib per second, default is 10GiB/s.
rateLimit: 10GiB
manager:
Expand Down

0 comments on commit 10ece27

Please sign in to comment.