Tuesday, 25 April 2017

Does Nodes js AWS sdk automatically handles rate limiting and reties or do I need to attempt retry after parsing response

Do I need to handle this like :

ses.sendEmail( //body and other options
}, function (err, data) {
   if (err)
    //parse error and attmept to retry
});

Or will it be done just by handling it like :

var ses = new aws.SES({apiVersion: apiVersion,maxRetries: 10});



via Ramesh Jhajharia

No comments:

Post a Comment