Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
fix(historical-data): increase timeout for the lambda
Browse files Browse the repository at this point in the history
It can take longer than one minute to process batch messages
  • Loading branch information
coderbyheart committed Dec 15, 2020
1 parent a760664 commit ac8c3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/resources/HistoricalData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class HistoricalData extends CloudFormation.Resource {
layers: lambdas.layers,
handler: 'index.handler',
runtime: Lambda.Runtime.NODEJS_12_X,
timeout: CloudFormation.Duration.seconds(60),
timeout: CloudFormation.Duration.minutes(2),
memorySize: 1792,
code: lambdas.lambdas.storeMessagesInTimestream,
description:
Expand Down

0 comments on commit ac8c3a4

Please sign in to comment.