mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-02 09:13:19 +08:00
Updated 45 mins abort timeout to 1 hour
This commit is contained in:
2
packages/cache/src/internal/downloadUtils.ts
vendored
2
packages/cache/src/internal/downloadUtils.ts
vendored
@@ -261,7 +261,7 @@ export async function downloadCacheStorageSDK(
|
||||
|
||||
downloadProgress.nextSegment(segmentSize)
|
||||
const abortTimeInMs =
|
||||
options.abortTimeInMs === undefined ? 2700000 : options.abortTimeInMs
|
||||
options.abortTimeInMs === undefined ? 3600000 : options.abortTimeInMs
|
||||
const result = await promiseWithTimeout(
|
||||
abortTimeInMs,
|
||||
client.downloadToBuffer(segmentStart, segmentSize, {
|
||||
|
||||
Reference in New Issue
Block a user