Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added way to set the table to pay per request #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added way to set the table to pay per request #63

wants to merge 2 commits into from

Conversation

natac13
Copy link

@natac13 natac13 commented Dec 8, 2019

I am not 100% sure if this is all that is needed to create a pay per request table.

fix #62

@@ -44,6 +44,42 @@ module.exports = function (connect) {
this.readCapacityUnits = null == options.readCapacityUnits ? 5 : parseInt(options.readCapacityUnits,10);
this.writeCapacityUnits = null == options.writeCapacityUnits ? 5 : parseInt(options.writeCapacityUnits,10);

if (options.payPerRequest) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't update the document to tell the user that if they want on-demand, set the value to z0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OnDemand Table
2 participants