Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(dags): give the warehouse object reads scan 30 minutes (#113929)

Thiago Salvatore953b556c0926
diff --git a/posthog/dags/warehouse_object_reads_daily.py b/posthog/dags/warehouse_object_reads_daily.py
index fd10dc19232c..1130396f4b46 100644
--- a/posthog/dags/warehouse_object_reads_daily.py
+++ b/posthog/dags/warehouse_object_reads_daily.py
@@ -30,7 +30,7 @@ from products.web_analytics.dags.web_preaggregated_utils import (
QUERY_LOG_ARCHIVE_TABLE = "query_log_archive"
TEMPORAL_QUERY_KIND = "temporal"
QUERY_FINISH_TYPE = "QueryFinish"
-MAX_EXECUTION_TIME_SECONDS = 600
+MAX_EXECUTION_TIME_SECONDS = 30 * 60
ONE_GIB = 1024**3
MAX_MEMORY_USAGE_BYTES = 8 * ONE_GIB
SPILL_GROUP_BY_AFTER_BYTES = 2 * ONE_GIB