kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Increase parallel uploads to S3
rodzic
dbb7c39783
commit
2fe8c523ec
|
@ -66,7 +66,7 @@ module.exports = {
|
||||||
uploadPaths: function(srcFolder, bucket, dstFolder, paths, cb, onOutput){
|
uploadPaths: function(srcFolder, bucket, dstFolder, paths, cb, onOutput){
|
||||||
if (!s3) throw new Error("S3 is not initialized");
|
if (!s3) throw new Error("S3 is not initialized");
|
||||||
|
|
||||||
const PARALLEL_UPLOADS = 5;
|
const PARALLEL_UPLOADS = 10;
|
||||||
|
|
||||||
const q = async.queue((file, done) => {
|
const q = async.queue((file, done) => {
|
||||||
logger.debug(`Uploading ${file.src} --> ${file.dest}`);
|
logger.debug(`Uploading ${file.src} --> ${file.dest}`);
|
||||||
|
|
Ładowanie…
Reference in New Issue