forked from TrueCloudLab/rclone
cache: fix default setting for warmup_age
This commit is contained in:
parent
f80f7a0509
commit
f0ed384786
1 changed files with 1 additions and 1 deletions
2
cache/cache.go
vendored
2
cache/cache.go
vendored
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue