: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
feat(query): raise breaker backoff cap for timeouts to 4 hours (#79248)
Andy Zhao960c967507f4
diff --git a/posthog/query_cache/failures.py b/posthog/query_cache/failures.pyindex b9563708e06f..f5c128b46e83 100644--- a/posthog/query_cache/failures.py+++ b/posthog/query_cache/failures.py@@ -36,8 +36,8 @@ class KindPolicy:KIND_POLICIES: dict[FailureKind, KindPolicy] = {"memory_limit": KindPolicy(open_threshold=1, max_backoff=timedelta(hours=4), timeout_independent=True),- "timeout": KindPolicy(open_threshold=3, max_backoff=timedelta(minutes=30), timeout_independent=False),- "too_slow": KindPolicy(open_threshold=3, max_backoff=timedelta(minutes=30), timeout_independent=False),+ "timeout": KindPolicy(open_threshold=3, max_backoff=timedelta(hours=4), timeout_independent=False),+ "too_slow": KindPolicy(open_threshold=3, max_backoff=timedelta(hours=4), timeout_independent=False),"query_size": KindPolicy(open_threshold=1, max_backoff=timedelta(hours=4), timeout_independent=True),}