From b6ba78eb47f81ac818a10de2adae4729daa81680 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Tue, 9 Apr 2024 19:24:52 +0000 Subject: [PATCH] updating timeout --- __tests__/upload-artifact.test.ts | 2 +- src/internal/upload/blob-upload.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/upload-artifact.test.ts b/__tests__/upload-artifact.test.ts index c98114d..59d9ed8 100644 --- a/__tests__/upload-artifact.test.ts +++ b/__tests__/upload-artifact.test.ts @@ -425,7 +425,7 @@ describe('upload-artifact', () => { options.onProgress({loadedBytes: 100}) resolve() - }, 31000) // Delay longer than your timeout + }, 61000) // Delay longer than your timeout }) } ) diff --git a/src/internal/upload/blob-upload.ts b/src/internal/upload/blob-upload.ts index 25a7286..1bbe6b2 100644 --- a/src/internal/upload/blob-upload.ts +++ b/src/internal/upload/blob-upload.ts @@ -30,7 +30,7 @@ export async function uploadZipToBlobStorage( const bufferSize = getUploadChunkSize() const blobClient = new BlobClient(authenticatedUploadURL) const blockBlobClient = blobClient.getBlockBlobClient() - const timeoutDuration = 300000 // 30 seconds + const timeoutDuration = 600000 // 30 seconds core.debug( `Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`