Skip to content

Commit

Permalink
adj comp
Browse files Browse the repository at this point in the history
  • Loading branch information
robherley committed Nov 18, 2023
1 parent 5b64ed5 commit 8e14236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5139,7 +5139,7 @@ const os_1 = __importDefault(__nccwpck_require__(22037));
// Used for controlling the highWaterMark value of the zip that is being streamed
// The same value is used as the chunk size that is use during upload to blob storage
function getUploadChunkSize() {
return 128 * 1024 * 1024;
return 16 * 1024 * 1024;
}
exports.getUploadChunkSize = getUploadChunkSize;
function getRuntimeToken() {
Expand Down Expand Up @@ -5823,7 +5823,7 @@ exports.ZipUploadStream = ZipUploadStream;
function createZipUploadStream(uploadSpecification) {
return __awaiter(this, void 0, void 0, function* () {
const zip = archiver.create('zip', {
zlib: { level: 9 } // Sets the compression level.
zlib: { level: 1 } // Sets the compression level.
// Available options are 0-9
// 0 => no compression
// 1 => fastest with low compression
Expand Down

0 comments on commit 8e14236

Please sign in to comment.