rclone/fs/rc
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
..
jobs cache: fix backends shutting down when in use when used via the rc 2023-06-13 15:48:20 +01:00
js WASM: comply with wasm_exec.js licence terms 2022-12-07 15:25:46 +00:00
rcflags rc: fix missing --rc flags 2023-03-23 12:05:31 +00:00
rcserver fs: fix race conditions in --max-delete and --max-delete-size 2023-03-09 09:25:31 +00:00
webgui webgui: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02: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 rc: allow fs= params to be a JSON blob 2021-03-30 17:07:27 +01:00
config_test.go rcd: refactor rclone rc server to use lib/http 2022-12-15 12:38:09 +00:00
config.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
internal_test.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
internal.go rc: Add commands to set GC Percent & Memory Limit (1.19+) 2022-11-10 12:07:18 +00:00
params_test.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
params.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
rc_test.go fs/rc: add more infrastructure to help writing rc functions 2018-11-02 17:32:20 +00:00
rc.go fs: fix typos found by codespell 2023-03-25 12:51:04 +01:00
registry.go config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00