PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.18k stars 1.25k forks source link

fix(cdp): Hearbeat and nextTick processing #23322

Closed benjackwhite closed 3 months ago

benjackwhite commented 3 months ago

Problem

We can lock up the process with too much compute. This leads to the health checks failing when actually we are happy enough processing the batch.

Changes

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?