"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
cache: documentation fix for cache-chunk-total-size - Fixes #2519
Anagh Kumar Baranwal5a6750e1cdea
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex a1acf9c45..4b18dd46e 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -71,7 +71,7 @@ Make sure youWhen you are done with that- git push origin my-new-feature+ git push origin my-new-featureGo to the Github website and click [Create pullrequest](https://help.github.com/articles/creating-a-pull-request/).diff --git a/backend/cache/cache.go b/backend/cache/cache.goindex 43679c3aa..1ae3fefe0 100644--- a/backend/cache/cache.go+++ b/backend/cache/cache.go@@ -250,7 +250,7 @@ func NewFs(name, rootPath string, m configmap.Mapper) (fs.Fs, error) {return nil, err}if opt.ChunkTotalSize < opt.ChunkSize*fs.SizeSuffix(opt.TotalWorkers) {- return nil, errors.Errorf("don't set cache-total-chunk-size(%v) less than cache-chunk-size(%v) * cache-workers(%v)",+ return nil, errors.Errorf("don't set cache-chunk-total-size(%v) less than cache-chunk-size(%v) * cache-workers(%v)",opt.ChunkTotalSize, opt.ChunkSize, opt.TotalWorkers)}diff --git a/docs/content/cache.md b/docs/content/cache.mdindex 821a2ffd4..2696e10dc 100644--- a/docs/content/cache.md+++ b/docs/content/cache.md@@ -293,7 +293,7 @@ connections. If the chunk size is changed, any downloaded chunks will be invalid**Default**: 5M-#### --cache-total-chunk-size=SIZE ####+#### --cache-chunk-total-size=SIZE ####The total size that the chunks can take up on the local disk. If `cache`exceeds this value then it will start to the delete the oldest chunks until@@ -304,7 +304,7 @@ it goes under this value.#### --cache-chunk-clean-interval=DURATION ####How often should `cache` perform cleanups of the chunk storage. The default value-should be ok for most people. If you find that `cache` goes over `cache-total-chunk-size`+should be ok for most people. If you find that `cache` goes over `cache-chunk-total-size`too often then try to lower this value to force it to perform cleanups more often.**Default**: 1m