Updated 45 mins abort timeout to 1 hour

This commit is contained in:
Sankalp Kotewar committed 2022-08-05 05:44:59 +00:00
1 parent 55fef07ca0
commit 5591252081
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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, {