diff --git a/CHANGES b/CHANGES index 318463c0b..c8b899ebe 100644 --- a/CHANGES +++ b/CHANGES @@ -2106,4 +2106,5 @@ * nginx: add splash pages for IP based browser access * Give services panel a separate top-level view * Add app state filter +* gcs: copy concurrency was not used diff --git a/src/storage/gcs.js b/src/storage/gcs.js index 5afc7a0bd..ecd934024 100644 --- a/src/storage/gcs.js +++ b/src/storage/gcs.js @@ -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) {