mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-06 05:43:19 +08:00
Updated 45 mins abort timeout to 1 hour
This commit is contained in:
4
packages/cache/src/options.ts
vendored
4
packages/cache/src/options.ts
vendored
@@ -50,7 +50,7 @@ export interface DownloadOptions {
|
||||
/**
|
||||
* Time after which download should be aborted if stuck
|
||||
*
|
||||
* @default 2700000
|
||||
* @default 3600000
|
||||
*/
|
||||
abortTimeInMs?: number
|
||||
}
|
||||
@@ -92,7 +92,7 @@ export function getDownloadOptions(copy?: DownloadOptions): DownloadOptions {
|
||||
useAzureSdk: true,
|
||||
downloadConcurrency: 8,
|
||||
timeoutInMs: 30000,
|
||||
abortTimeInMs: 2700000
|
||||
abortTimeInMs: 3600000
|
||||
}
|
||||
|
||||
if (copy) {
|
||||
|
||||
Reference in New Issue
Block a user