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
19.35k stars 1.13k forks source link

fix(insights): Adjust shared insight mode to blocking #23324

Closed webjunkie closed 4 days ago

webjunkie commented 4 days ago

Problem

Added a safeguard in #23249 but this calculates in the background and customer is wondering about outdated insight.

Until we add polling there (pending logic refactorings) we can just make it blocking.

Changes

Make blocking as request with refresh=true but just basically now use recent cache.