Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

cache: fix default setting for warmup_age

Nick Craig-Woodf0ed38478653
diff --git a/cache/cache.go b/cache/cache.go
index c44d8a760..e6cb04691 100644
--- a/cache/cache.go
+++ b/cache/cache.go
@@ -269,7 +269,7 @@ func NewFs(name, rpath string) (fs.Fs, error) {
if err != nil {
return nil, errors.Wrapf(err, "failed to understand duration", chunkAge)
}
- metaAge := fs.ConfigFileGet(name, "warmup_age", DefCacheChunkAge)
+ metaAge := fs.ConfigFileGet(name, "warmup_age", DefCacheMetaAge)
if *cacheMetaAge != DefCacheMetaAge {
metaAge = *cacheMetaAge
}