1
mirror of https://github.com/rclone/rclone synced 2024-12-03 13:14:37 +01:00
rclone/lib/cache
Nick Craig-Wood c0c74003f2 fs/cache: add --fs-cache-expire-duration to control the fs cache
This commit makes the previously statically configured fs cache configurable.

It introduces two parameters `--fs-cache-expire-duration` and
`--fs-cache-expire-interval` to control the caching of the items.

It also adds new interfaces to lib/cache to set these.
2021-03-30 12:46:47 +01:00
..
cache_test.go fs/cache: add --fs-cache-expire-duration to control the fs cache 2021-03-30 12:46:47 +01:00
cache.go fs/cache: add --fs-cache-expire-duration to control the fs cache 2021-03-30 12:46:47 +01:00