Skip to content

Commit

Permalink
docs: add prefetchRateLimit to dfdaemon configuration documentation (#…
Browse files Browse the repository at this point in the history
…189)

Signed-off-by: chlins <[email protected]>
  • Loading branch information
chlins authored Dec 6, 2024
1 parent 0f65d6c commit 2b66bc0
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 @@ -206,6 +206,9 @@ proxy:
# 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
# prefetchRateLimit is the rate limit of the prefetch speed in KiB/MiB/GiB per second, default is 2GiB/s.
# The prefetch request has lower priority so limit the rate to avoid occupying the bandwidth impact other download tasks.
prefetchRateLimit: 2GiB
# readBufferSize is the buffer size for reading piece from disk, default is 32KB.
readBufferSize: 32768

Expand Down

0 comments on commit 2b66bc0

Please sign in to comment.