Halved multipart upload size to S3

pull/63/head
Piero Toffanin 2018-12-19 11:39:01 -05:00
rodzic 787571e6a0
commit cfd3677e07
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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}`;