Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vfs: fix backends being Shutdown too early when startup takes a long …
…time Before this change if the VFS took more than 5 to initialise (which can happen if there is a lot of files or a lot of files which need uploading) the backend was dropped out of the cache before the VFS was fully created. This was noticeable in the dropbox backend where the batcher Shutdown too soon and prevented further uploads. This fixes the problem by Pinning backends before the VFS cache is created. https://forum.rclone.org/t/if-more-than-251-elements-in-the-que-to-upload-fails-with-batcher-is-shutting-down/38076/2
- Loading branch information