We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df76c1f commit cafa694Copy full SHA for cafa694
bin/dynamo-archive.js
@@ -68,10 +68,11 @@ dynamo.describeTable(
68
if (data == null) {
69
throw 'Table ' + argv.table + ' not found in DynamoDB';
70
}
71
+ const rcu = data.Table.ProvisionedThroughput.ReadCapacityUnits;
72
var params = {
73
TableName: argv.table,
74
ReturnConsumedCapacity: 'NONE',
- Limit: data.Table.ProvisionedThroughput.ReadCapacityUnits
75
+ Limit: rcu > 0 ? rcu : 1000
76
};
77
if (argv.index) {
78
params.IndexName = argv.index
0 commit comments