From bc893bf1b4f3342394c32f07112605f8bd9b46a6 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Thu, 28 Mar 2024 19:48:15 +0000 Subject: [PATCH] adding compression level back --- packages/artifact/src/internal/upload/zip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/artifact/src/internal/upload/zip.ts b/packages/artifact/src/internal/upload/zip.ts index 82c98708..22045e24 100644 --- a/packages/artifact/src/internal/upload/zip.ts +++ b/packages/artifact/src/internal/upload/zip.ts @@ -32,7 +32,7 @@ export async function createZipUploadStream( ) const zlibOptions = { zlib: { - level: zlib.constants.Z_DEFAULT_COMPRESSION, + level: compressionLevel, bufferSize: getUploadChunkSize() } }