Skip to content

Commit

Permalink
retry request for Batch TooManyRequestsException (#2246)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Sep 7, 2018
1 parent cf6b9a0 commit 167bc31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/service.js
Expand Up @@ -578,6 +578,7 @@ AWS.Service = inherit({
case 'ThrottlingException':
case 'RequestLimitExceeded':
case 'RequestThrottled':
case 'TooManyRequestsException':
return true;
default:
return false;
Expand Down
6 changes: 5 additions & 1 deletion test/service.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 167bc31

Please sign in to comment.