Increase parallel uploads to S3

pull/55/head
Piero Toffanin 2018-11-30 09:05:29 -05:00
rodzic dbb7c39783
commit 2fe8c523ec
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 = 10;
const q = async.queue((file, done) => {
logger.debug(`Uploading ${file.src} --> ${file.dest}`);