From 688e853ae4287185ed06c4206109491670086fad Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Tue, 4 Dec 2018 15:48:58 -0500 Subject: [PATCH] Reduced parallel uploads to 1 --- libs/S3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/S3.js b/libs/S3.js index 792792d..720b4b9 100644 --- a/libs/S3.js +++ b/libs/S3.js @@ -66,7 +66,7 @@ module.exports = { uploadPaths: function(srcFolder, bucket, dstFolder, paths, cb, onOutput){ if (!s3) throw new Error("S3 is not initialized"); - const PARALLEL_UPLOADS = 5; + const PARALLEL_UPLOADS = 1; const q = async.queue((file, done) => { logger.debug(`Uploading ${file.src} --> ${file.dest}`);