: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(error-tracking): move the hourly recommendations sweep off the top of the hour (#115280)
Vasco de Krijgercd3e77c84bcc
diff --git a/posthog/temporal/schedule.py b/posthog/temporal/schedule.pyindex 8068e7aa561c..d4ab95053dc3 100644--- a/posthog/temporal/schedule.py+++ b/posthog/temporal/schedule.py@@ -908,8 +908,9 @@ async def create_error_tracking_recommendations_refresh_schedule(client: Client)retry_policy=common.RetryPolicy(maximum_attempts=1),),spec=ScheduleSpec(- intervals=[ScheduleIntervalSpec(every=timedelta(hours=1), offset=timedelta(minutes=2))],- jitter=timedelta(minutes=10),+ # Runs at :20 to keep it away from the API query surge at the top of the hour.+ intervals=[ScheduleIntervalSpec(every=timedelta(hours=1), offset=timedelta(minutes=20))],+ jitter=timedelta(minutes=5),),policy=SchedulePolicy(overlap=ScheduleOverlapPolicy.SKIP),)