diff --git a/libs/S3.js b/libs/S3.js index 56548a1..f79a23d 100644 --- a/libs/S3.js +++ b/libs/S3.js @@ -76,7 +76,7 @@ module.exports = { Key: file.dest, Body: fs.createReadStream(file.src), ACL: 'public-read' - }, {partSize: 10 * 1024 * 1024, queueSize: 1}, err => { + }, {partSize: 5 * 1024 * 1024, queueSize: 1}, err => { if (err){ logger.debug(err); const msg = `Cannot upload file to S3: ${err.code}, retrying... ${file.retries}`;