Skip to content

Commit

Permalink
Include “TimeoutError” in the retriable put errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eaviles committed Aug 29, 2019
1 parent c26e3ce commit 034882d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion lib/kinesis-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const RETRIABLE_PUT_ERRORS = [
'ESOCKETTIMEDOUT',
'ETIMEDOUT',
'NetworkingError',
'ProvisionedThroughputExceededException'
'ProvisionedThroughputExceededException',
'TimeoutError'
];

const privateData = new WeakMap();
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"dependencies": {
"async-retry": "^1.2.3",
"aws-sdk": "^2.519.0",
"aws-sdk": "^2.520.0",
"aws4": "^1.8.0",
"fast-deep-equal": "^2.0.1",
"got": "^9.6.0",
Expand Down

0 comments on commit 034882d

Please sign in to comment.