Skip to content

Commit 3579053

Browse files
hrideshmgcanihavesomecoffee
authored andcommitted
feat: enable file caching for Rclone
1 parent 9ea6582 commit 3579053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/ci-vm/ci-windows/startup-script.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ curl.exe http://metadata/computeMetadata/v1/instance/attributes/rclone_conf -H "
2424
curl.exe http://metadata/computeMetadata/v1/instance/attributes/service_account -H "Metadata-Flavor: Google" > service-account.json
2525
(Get-Content -path .\service-account.json) | Set-Content -Encoding ASCII -Path .\service-account.json
2626

27-
start powershell {.\rclone.exe mount $env:mount_path\TestFiles .\TestFiles --config=".\rclone.conf" -o FileInfoTimeout=-1 --vfs-read-wait 0 --no-console --read-only}
27+
start powershell {.\rclone.exe mount $env:mount_path\TestFiles .\TestFiles --config=".\rclone.conf" --vfs-cache-mode full --vfs-cache-max-size 5G --no-modtime -o FileInfoTimeout=-1 --vfs-read-wait 0 --no-console --read-only}
2828
Start-Sleep -Seconds 5
2929

3030
start powershell {.\rclone.exe mount $env:mount_path\TestData\ci-windows .\temp --config=".\rclone.conf" --no-console --read-only}

0 commit comments

Comments
 (0)