rclone/fs/cache
Nick Craig-Wood 30cccc7101 cache: fix backends shutting down when in use when used via the rc
Before this fix, if a long running task (eg a copy) was started by the
rc then the backend could expire before the copy had finished.

The typical symptom was with the dropbox backend giving "batcher is
shutting down" errors.

This patch fixes the problem by pinning the backend until the job has
finished.

See: https://forum.rclone.org/t/uploads-start-repeatedly-failing-after-a-while-using-rc-sync-copy-vs-rclone-copy-for-dropbox/38873/
2023-06-13 15:48:20 +01:00
..
cache_test.go mockfs: make it so it can be registered as an Fs 2023-04-28 14:31:05 +01:00
cache.go cache: fix backends shutting down when in use when used via the rc 2023-06-13 15:48:20 +01:00