"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
vfs: fill and clean the cache immediately on startup
Nick Craig-Wood295c3fabecac
diff --git a/vfs/cache.go b/vfs/cache.goindex 4e3e3eff6..3ca68f712 100644--- a/vfs/cache.go+++ b/vfs/cache.go@@ -387,6 +387,9 @@ func (c *cache) clean() {//// doesn't return until context is cancelledfunc (c *cache) cleaner(ctx context.Context) {+ // Start cleaning the cache immediately+ c.clean()+ // Then every interval specifiedtimer := time.NewTicker(c.opt.CachePollInterval)defer timer.Stop()for {