chore(web-analytics): lower max partitions per run (#37063)

This commit is contained in:
Lucas Ricoy
2025-08-22 17:02:20 -03:00
committed by GitHub
parent 5659f95c03
commit fd4a036b4f

View File

@@ -28,7 +28,7 @@ from posthog.models.web_preaggregated.sql import (
)
MAX_PARTITIONS_PER_RUN_ENV_VAR = "DAGSTER_WEB_PREAGGREGATED_MAX_PARTITIONS_PER_RUN"
max_partitions_per_run = int(os.getenv(MAX_PARTITIONS_PER_RUN_ENV_VAR, 14))
max_partitions_per_run = int(os.getenv(MAX_PARTITIONS_PER_RUN_ENV_VAR, 1))
backfill_policy_def = BackfillPolicy.multi_run(max_partitions_per_run=max_partitions_per_run)
partition_def = DailyPartitionsDefinition(start_date="2024-01-01", end_offset=1)