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

chore: Remove runner abstraction from onEvent #17683

Merged
merged 2 commits into from
Oct 10, 2023
Merged

Conversation

tiina303
Copy link
Contributor

@tiina303 tiina303 commented Sep 28, 2023

Problem

Making changes is more complicated due to this abstraction. I can't see us gaining anything from using the worker methods and piscina and runner here.

Note that the webhooks consumer already doesn't use the runner nor piscina (we should just handle this in the batching and what we run in parallel async instead - can't see a reason to use a worker pool)

Changes

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

How did you test this code?

@posthog-bot
Copy link
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

@tiina303 tiina303 removed the stale label Oct 6, 2023
@tiina303 tiina303 force-pushed the on-event-skip-runner branch from edc0f71 to 90f5e11 Compare October 6, 2023 13:55
@tiina303 tiina303 marked this pull request as ready for review October 6, 2023 16:28
@tiina303 tiina303 merged commit 8802f52 into master Oct 10, 2023
@tiina303 tiina303 deleted the on-event-skip-runner branch October 10, 2023 11:25
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.

3 participants