kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Reduced parallel uploads to 1
rodzic
e63558c5f9
commit
688e853ae4
|
@ -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 = 1;
|
||||||
|
|
||||||
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