Skip to content

Commit

Permalink
feat: add prefetch comment for dfdaemon config (#173)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Oct 21, 2024
1 parent 5dbef62 commit db7c31c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/reference/configuration/client/dfdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ proxy:
# disableBackToSource indicates whether disable to download back-to-source when download failed.
disableBackToSource: false
# prefetch pre-downloads full of the task when download with range request.
# X-Dragonfly-Prefetch priority is higher than prefetch in config.
# If the value is "true", the range request will prefetch the entire file.
# If the value is "false", the range request will fetch the range content.
prefetch: false
# readBufferSize is the buffer size for reading piece from disk, default is 32KB.
readBufferSize: 32768
Expand Down

0 comments on commit db7c31c

Please sign in to comment.