mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
more memory?
This commit is contained in:
parent
c000ce4704
commit
56f9ffb0ed
2 changed files with 6 additions and 2 deletions
|
|
@ -213,7 +213,7 @@ def handler(event, context):
|
|||
json_uri,
|
||||
)
|
||||
print("job completed successfully")
|
||||
|
||||
|
||||
except Exception as e:
|
||||
print(f"❌ Error: {e}")
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -59,7 +59,11 @@ resource "aws_lambda_function" "extractor_and_loader" {
|
|||
role = data.aws_iam_role.lambda_exec_role.arn
|
||||
package_type = "Image"
|
||||
image_uri = "${data.aws_ecr_repository.extractor_and_loader.repository_url}:${var.lambda_image_tag}"
|
||||
timeout = 30
|
||||
# Increase timeout (max 900 sec / 15 min)
|
||||
timeout = 300 # e.g. 5 minutes
|
||||
|
||||
# Increase memory (default 128 MB)
|
||||
memory_size = 2048 # try 1024 or 2048 MB to start
|
||||
}
|
||||
|
||||
# SQS trigger
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue