Skip to content

Commit

Permalink
chore(batch-exports): Significantly bump start to close timeout (#27306)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias authored Jan 7, 2025
1 parent 21e6b5f commit 75c3df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/temporal/batch_exports/batch_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ async def execute_batch_export_insert_activity(
_, value, unit = interval.split(" ")
kwargs = {unit: int(value)}
# TODO: Consider removing this 20 minute minimum once we are more confident about hitting 5 minute or lower SLAs.
start_to_close_timeout = max(dt.timedelta(minutes=20), dt.timedelta(**kwargs))
start_to_close_timeout = max(dt.timedelta(hours=12), dt.timedelta(**kwargs))
else:
raise ValueError(f"Unsupported interval: '{interval}'")

Expand Down

0 comments on commit 75c3df5

Please sign in to comment.