1
0
Fork 0

cleaning up comments and removing clear timeout outside of finaly

pull/1712/head
Vallie Joseph 2024-04-15 16:08:45 +00:00
parent 75b5e5376d
commit 5eea9e34e7
1 changed files with 0 additions and 5 deletions

View File

@ -60,8 +60,6 @@ export async function uploadZipToBlobStorage(
lastProgressTime = Date.now()
}
// // Timeout if the upload stalls
// const progressTimeout
const options: BlockBlobUploadStreamOptions = {
blobHTTPHeaders: {blobContentType: 'zip'},
onProgress: uploadCallback
@ -108,9 +106,6 @@ export async function uploadZipToBlobStorage(
`No data was uploaded to blob storage. Reported upload byte count is 0.`
)
}
// clear the progress timeout when upload completes
clearTimeout(chunkTimer(timeoutDuration))
return {
uploadSize: uploadByteCount,
sha256Hash