Skip to content

Commit

Permalink
Set maxAttempts with retries config
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Dec 27, 2023
1 parent 1715e76 commit 9230bf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/dynamodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export class DynamoDB {
endpoint,
region,
requestHandler,
maxAttempts: typeof retries === "number" ? retries : undefined,
})
);
}
Expand Down

0 comments on commit 9230bf8

Please sign in to comment.