0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 17:24:15 +01:00
posthog/frontend
Paul D'Ambra 47ab4627a4
fix: make my_last_viewed_at simpler (#13529)
Problem
Even without including Insight results in the API the my_last_viewed_at API call is surprisingly slow (consistently 6 seconds for me)

I'm a bear of little brain and couldn't grok the previous mechanism for querying them.

Changes
Make a simpler mechanism for querying them and try and lean on the ORM to load the data as fast as possible

How did you test this code?
Updating the developer tests and running locally to see it still works
2022-12-30 21:07:37 +00:00
..
@posthog feat(data-exploration): implement lifecycle query (#13291) 2022-12-28 11:41:04 +01:00
public
src fix: make my_last_viewed_at simpler (#13529) 2022-12-30 21:07:37 +00:00
build.mjs
editor-update-tsd.mjs
utils.mjs