Updated variable names

This commit is contained in:
Sankalp Kotewar committed 2022-08-08 04:48:36 +00:00
1 parent edd4bb18a1
commit 47dad3f676
3 files changed
+12 -12

No files matched your search

+3 -3
View File
@@ -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.')
})