Reduced parallel uploads to 1

pull/59/head
Piero Toffanin 2018-12-04 15:48:58 -05:00
rodzic e63558c5f9
commit 688e853ae4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -66,7 +66,7 @@ module.exports = {
uploadPaths: function(srcFolder, bucket, dstFolder, paths, cb, onOutput){
if (!s3) throw new Error("S3 is not initialized");
const PARALLEL_UPLOADS = 5;
const PARALLEL_UPLOADS = 1;
const q = async.queue((file, done) => {
logger.debug(`Uploading ${file.src} --> ${file.dest}`);