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(cohorts): bump p95-p100 cohort calculation parallelism to 16 (#69303)

Gustavo H. Strassburger01394173737b
diff --git a/posthog/settings/schedules.py b/posthog/settings/schedules.py
index 79dd9b767098..fbd7cab3e87b 100644
--- a/posthog/settings/schedules.py
+++ b/posthog/settings/schedules.py
@@ -161,12 +161,12 @@ REALTIME_COHORT_CALCULATION_P90_P95_PARALLELISM: int = get_from_env(
)
REALTIME_COHORT_CALCULATION_P95_P99_PARALLELISM: int = get_from_env(
"REALTIME_COHORT_CALCULATION_P95_P99_PARALLELISM",
- 1,
+ 16,
type_cast=int,
)
REALTIME_COHORT_CALCULATION_P99_P100_PARALLELISM: int = get_from_env(
"REALTIME_COHORT_CALCULATION_P99_P100_PARALLELISM",
- 1,
+ 16,
type_cast=int,
)