gcs: use copy concurrency
This commit is contained in:
@@ -174,7 +174,8 @@ function copy(apiConfig, oldFilePath, newFilePath) {
|
||||
});
|
||||
}
|
||||
|
||||
const batchSize = 1000, concurrency = 10;
|
||||
const batchSize = 1000;
|
||||
const concurrency = apiConfig.copyConcurrency || 10;
|
||||
var total = 0;
|
||||
|
||||
listDir(apiConfig, oldFilePath, batchSize, function (entries, done) {
|
||||
|
||||
Reference in New Issue
Block a user