mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 12:32:54 +08:00
updating timeout
This commit is contained in:
parent
4fc93ec115
commit
2ed9516172
@ -425,7 +425,7 @@ describe('upload-artifact', () => {
|
|||||||
options.onProgress({loadedBytes: 100})
|
options.onProgress({loadedBytes: 100})
|
||||||
|
|
||||||
resolve()
|
resolve()
|
||||||
}, 31000) // Delay longer than your timeout
|
}, 61000) // Delay longer than your timeout
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export async function uploadZipToBlobStorage(
|
|||||||
const bufferSize = getUploadChunkSize()
|
const bufferSize = getUploadChunkSize()
|
||||||
const blobClient = new BlobClient(authenticatedUploadURL)
|
const blobClient = new BlobClient(authenticatedUploadURL)
|
||||||
const blockBlobClient = blobClient.getBlockBlobClient()
|
const blockBlobClient = blobClient.getBlockBlobClient()
|
||||||
const timeoutDuration = 300000 // 30 seconds
|
const timeoutDuration = 600000 // 30 seconds
|
||||||
|
|
||||||
core.debug(
|
core.debug(
|
||||||
`Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`
|
`Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user