mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
chore(web-analytics): lower max partitions per run (#37063)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user