Skip to content

Commit 0c6adaa

Browse files
author
Steven de Salas
committed
Allow backing down to 1 concurrent request. Useful for avoiding throttling during large restores.
1 parent 465c576 commit 0c6adaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dynamo-restore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var DYNAMO_CHUNK_SIZE = 25;
1616
function DynamoRestore(options) {
1717
options = options || {};
1818
options.concurrency = options.concurrency || 200;
19-
options.minConcurrency = Math.ceil(options.concurrency * 0.1);
19+
options.minConcurrency = 1;
2020
options.maxConcurrency = options.concurrency;
2121
options.readcapacity = options.readcapacity || 5;
2222
options.writecapacity = options.writecapacity || 5;

0 commit comments

Comments
 (0)