mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 06:22:55 +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
|
// Override UploadOptions to force the use of Azure
|
||||||
options = {
|
options = {
|
||||||
...options,
|
...options,
|
||||||
|
uploadChunkSize: 64 * 1024 * 1024, // 128MiB
|
||||||
|
uploadConcurrency: 8, // 8 workers for parallel upload
|
||||||
useAzureSdk: true
|
useAzureSdk: true
|
||||||
}
|
}
|
||||||
const compressionMethod = await utils.getCompressionMethod()
|
const compressionMethod = await utils.getCompressionMethod()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user