reduce copy concurrency to keep most providers happy
This commit is contained in:
@@ -288,7 +288,7 @@ function copy(apiConfig, oldFilePath, newFilePath) {
|
||||
}
|
||||
ranges.push({ startBytes: cur, endBytes: entry.size-1 });
|
||||
|
||||
async.eachOfLimit(ranges, 5, function copyChunk(range, index, iteratorDone) {
|
||||
async.eachOfLimit(ranges, 3, function copyChunk(range, index, iteratorDone) {
|
||||
const partCopyParams = {
|
||||
Bucket: apiConfig.bucket,
|
||||
Key: path.join(newFilePath, relativePath),
|
||||
|
||||
Reference in New Issue
Block a user