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.

chore: Bump hourly start-to-close timeout for batch exports (#61061)

Tomás Farías Santanae7db2e59cd41
diff --git a/products/batch_exports/backend/temporal/pipeline/entrypoint.py b/products/batch_exports/backend/temporal/pipeline/entrypoint.py
index b5136a9e65bf..fcffb3d02005 100644
--- a/products/batch_exports/backend/temporal/pipeline/entrypoint.py
+++ b/products/batch_exports/backend/temporal/pipeline/entrypoint.py
@@ -131,7 +131,7 @@ async def execute_batch_export_using_internal_stage(
if interval == "hour":
# TODO - we should reduce this to 1 hour once we are more confident about hitting 1 hour SLAs.
# TODO: Review timeouts for internal stage activity.
- main_activity_start_to_close_timeout = max(dt.timedelta(hours=2), override_start_to_close_timeout_timedelta)
+ main_activity_start_to_close_timeout = max(dt.timedelta(hours=6), override_start_to_close_timeout_timedelta)
stage_activity_start_to_close_timeout = dt.timedelta(hours=1)
elif interval == "day":
main_activity_start_to_close_timeout = max(dt.timedelta(days=1), override_start_to_close_timeout_timedelta)