From 58f73e4f0e6fc059c8facc3fe017270b9112e125 Mon Sep 17 00:00:00 2001 From: Kashif Imran Date: Sat, 8 Aug 2020 22:52:16 -0700 Subject: [PATCH] Update textract-pipeline-stack.ts --- textract-pipeline/lib/textract-pipeline-stack.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/textract-pipeline/lib/textract-pipeline-stack.ts b/textract-pipeline/lib/textract-pipeline-stack.ts index b2939362..c730463d 100644 --- a/textract-pipeline/lib/textract-pipeline-stack.ts +++ b/textract-pipeline/lib/textract-pipeline-stack.ts @@ -111,6 +111,7 @@ export class TextractPipelineStack extends cdk.Stack { runtime: lambda.Runtime.PYTHON_3_7, code: lambda.Code.asset('lambda/s3processor'), handler: 'lambda_function.lambda_handler', + timeout: cdk.Duration.seconds(30), environment: { SYNC_QUEUE_URL: syncJobsQueue.queueUrl, ASYNC_QUEUE_URL: asyncJobsQueue.queueUrl, @@ -149,6 +150,7 @@ export class TextractPipelineStack extends cdk.Stack { runtime: lambda.Runtime.PYTHON_3_7, code: lambda.Code.asset('lambda/s3batchprocessor'), handler: 'lambda_function.lambda_handler', + timeout: cdk.Duration.seconds(30), environment: { DOCUMENTS_TABLE: documentsTable.tableName, OUTPUT_TABLE: outputTable.tableName