Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cohorts): Optimise person loop for flag matching #18846

Merged
merged 4 commits into from
Nov 23, 2023
Merged

Conversation

neilkakkar
Copy link
Collaborator

Problem

^on the tin, makes the loop faster, also increasing batch size.

Next up need to profile the endpoint to get a better sense of what's slow.

Changes

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

How did you test this code?

@neilkakkar neilkakkar marked this pull request as ready for review November 23, 2023 11:35
@neilkakkar neilkakkar merged commit 7540489 into master Nov 23, 2023
68 checks passed
@neilkakkar neilkakkar deleted the fix-cohort branch November 23, 2023 13:06
@neilkakkar
Copy link
Collaborator Author

[merging to test the optimisation, it's all flagged, but let me know if any comments, will address in a follow up!]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant