mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-06 03:16:06 +08:00
Fine tune blob uploads
This commit is contained in:
parent
8c5f6f2dc5
commit
65892d5ffe
2
packages/cache/src/cache.ts
vendored
2
packages/cache/src/cache.ts
vendored
@ -465,6 +465,8 @@ async function saveCacheV2(
|
||||
// Override UploadOptions to force the use of Azure
|
||||
options = {
|
||||
...options,
|
||||
uploadChunkSize: 64 * 1024 * 1024, // 128MiB
|
||||
uploadConcurrency: 8, // 8 workers for parallel upload
|
||||
useAzureSdk: true
|
||||
}
|
||||
const compressionMethod = await utils.getCompressionMethod()
|
||||
|
Loading…
x
Reference in New Issue
Block a user