diff --git a/deployment/terraform/lambda/modelling_e2e/variables.tf b/deployment/terraform/lambda/modelling_e2e/variables.tf index 2595d86c..bcade99c 100644 --- a/deployment/terraform/lambda/modelling_e2e/variables.tf +++ b/deployment/terraform/lambda/modelling_e2e/variables.tf @@ -26,7 +26,7 @@ variable "reserved_concurrent_executions" { variable "maximum_concurrency" { type = number - default = 32 + default = 12 description = "Maximum concurrent Lambda invocations from the SQS trigger." } diff --git a/scripts/trigger_modelling_e2e_sqs.py b/scripts/trigger_modelling_e2e_sqs.py index e0d060d9..a4c6a4df 100644 --- a/scripts/trigger_modelling_e2e_sqs.py +++ b/scripts/trigger_modelling_e2e_sqs.py @@ -43,15 +43,15 @@ COMPLETED_SINCE: datetime | None = datetime( DRY_RUN: bool = False # False → Lambda skips the Google Solar fetch (re-uses stored Solar data). -REFETCH_SOLAR: bool = True +REFETCH_SOLAR: bool = False # False → use stored lodged EPC for properties that have one; properties with no # stored lodged EPC are treated as EPC-less and routed to prediction (no API call). -REFETCH_EPC: bool = True +REFETCH_EPC: bool = False # False → use stored predicted EPC for EPC-less properties that have one; live # prediction still runs when no stored predicted EPC exists for the property. -REPREDICT_EPC: bool = True +REPREDICT_EPC: bool = False # --------------------------------------------------------------------------- _REPO_ROOT = Path(__file__).resolve().parents[1]