From ac8c3a4535bc74eb16ba7a0d8697949e2b844d48 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Tue, 15 Dec 2020 12:36:55 +0100 Subject: [PATCH] fix(historical-data): increase timeout for the lambda It can take longer than one minute to process batch messages --- cdk/resources/HistoricalData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk/resources/HistoricalData.ts b/cdk/resources/HistoricalData.ts index 908ba22f..252ee095 100644 --- a/cdk/resources/HistoricalData.ts +++ b/cdk/resources/HistoricalData.ts @@ -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: