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