Skip to content

Commit

Permalink
fix: increase lambda default memory and timeout (#371)
Browse files Browse the repository at this point in the history
Co-authored-by: kakha urigashvili <[email protected]>
  • Loading branch information
kakhaUrigashvili and kakha urigashvili authored Jan 19, 2021
1 parent dbafab0 commit 5288974
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/clients/aws-client/lambda-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ module.exports = class LambdaClient extends AbstractAwsClient {
Role: role,
Runtime: runtime,
Handler: handler,
// to account for Java runtime cold start
Timeout: 15,
MemorySize: 512,
FunctionName: this._generateFunctionName(skillName, profile, alexaRegion)
};
this.client.createFunction(params, (err, data) => {
Expand Down

0 comments on commit 5288974

Please sign in to comment.