1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-04 17:43:50 +00:00

fs/accounting: add remote control of bwlimit

This commit is contained in:
Nick Craig-Wood
2018-03-16 21:45:09 +00:00
parent 2db0c4dd95
commit 4295428a0f
3 changed files with 60 additions and 0 deletions

View File

@@ -306,6 +306,11 @@ running, you can toggle the limiter like this:
kill -SIGUSR2 $(pidof rclone)
If you configure rclone with a [remote control](/rc) then you can use
change the bwlimit dynamically:
rclone rc core/bwlimit rate=1M
### --buffer-size=SIZE ###
Use this sized buffer to speed up file transfers. Each `--transfer`

View File

@@ -69,10 +69,20 @@ control commands.
## Supported commands
### core/bwlimit: Set the bandwidth limit.
This sets the bandwidth limit to that passed in.
Eg
rclone core/bwlimit rate=1M
rclone core/bwlimit rate=off
### cache/expire: Purge a remote from cache
Purge a remote from the cache backend. Supports either a directory or a file.
Params:
- remote = path to remote (required)
- withData = true/false to delete cached data (chunks) as well (optional)