mirror of https://github.com/actions/toolkit
Fine tune blob uploads
parent
8c5f6f2dc5
commit
65892d5ffe
|
@ -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…
Reference in New Issue