kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Halved multipart upload size to S3
rodzic
787571e6a0
commit
cfd3677e07
|
@ -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}`;
|
||||
|
|
Ładowanie…
Reference in New Issue