mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-02 09:13:19 +08:00
Updated variable names
This commit is contained in:
6
packages/cache/src/internal/downloadUtils.ts
vendored
6
packages/cache/src/internal/downloadUtils.ts
vendored
@@ -249,9 +249,9 @@ export async function downloadCacheStorageSDK(
|
||||
|
||||
try {
|
||||
downloadProgress.startDisplayTimer()
|
||||
const abortTimeInMs =
|
||||
options.abortTimeInMs === undefined ? 3600000 : options.abortTimeInMs
|
||||
const abortSignal = AbortController.timeout(abortTimeInMs)
|
||||
const segmentTimeoutInMs =
|
||||
options.segmentTimeoutInMs === undefined ? 3600000 : options.segmentTimeoutInMs
|
||||
const abortSignal = AbortController.timeout(segmentTimeoutInMs)
|
||||
abortSignal.addEventListener('abort', () => {
|
||||
core.warning('Cache download aborted, segment download timed out.')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user