mirror of
https://github.com/rclone/rclone.git
synced 2026-10-03 11:15:35 -04:00
cache: fix default setting for warmup_age
This commit is contained in:
1 parent
f80f7a0509
commit
f0ed384786
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user