Open jerry275 opened 4 years ago
I am using below code to create a table reference. I want to know, how I can configure maxRetries, retryDelayOptions for this "surveyInfo" table.
`var dynamo = require('dynamodb');
dynamo.AWS.config.update({accessKeyId: process.env.accessKeyId, secretAccessKey: process.env.secretAccessKey, region: process.env.region});
var surveyInfo = dynamo.define('surveyInfo', { hashKey : 'surveyId', rangeKey: 'surveyAttr' });
surveyInfo.config({tableName: 'surveyInfo'});
module.exports = surveyInfo;`
I am using below code to create a table reference. I want to know, how I can configure maxRetries, retryDelayOptions for this "surveyInfo" table.
`var dynamo = require('dynamodb');
dynamo.AWS.config.update({accessKeyId: process.env.accessKeyId, secretAccessKey: process.env.secretAccessKey, region: process.env.region});
var surveyInfo = dynamo.define('surveyInfo', { hashKey : 'surveyId', rangeKey: 'surveyAttr' });
surveyInfo.config({tableName: 'surveyInfo'});
module.exports = surveyInfo;`