Skip to content

Commit

Permalink
Increase memory of gold_locations
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarcia committed Aug 13, 2024
1 parent 93aab21 commit 7e2d037
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ module "gold_locations" {
source = "./lambdas"
lambda_fn_name = "gold_locations"
lambda_fn_script_name = "lambda_gold_locations"
memory_size = 1024
memory_size = 3000
timeout = 60*5
tfm_role = module.iam.TFMRole_arn
etl_lambda_layer_arn = aws_lambda_layer_version.etl_layer.arn
Expand Down
4 changes: 2 additions & 2 deletions src/orchestration/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ def gold_categories(day: Optional[datetime.datetime] = None) -> None:
name="gold_locations",
cache_key_fn=task_input_hash,
cache_expiration=datetime.timedelta(hours=1),
retries=2,
retry_delay_seconds=10,
retries=1,
retry_delay_seconds=60,
)
def gold_locations(day: Optional[datetime.datetime] = None) -> None:
"""
Expand Down

0 comments on commit 7e2d037

Please sign in to comment.