posthog icon indicating copy to clipboard operation
posthog copied to clipboard

plugin-server: Separate out precheck from hub.ts

Open macobo opened this issue 3 years ago • 1 comments

Is your feature request related to a problem?

hub.ts is doing a bunch of "health"-checks every time it's starting. This is problematic because:

  • It's booted N+1 times where N is number of threads
  • It's booted per test, slowing each down

Describe the solution you'd like

  • Make sure all of these cases are covered in main healthcheck
  • Call this healthcheck at the start of process and exit(1) if it's false

Describe alternatives you've considered

Additional context

came out from discussion with @benjackwhite @hazzadous @pauldambra

Thank you for your feature request – we love each and every one!

macobo avatar May 24 '22 08:05 macobo

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

posthog-bot avatar May 24 '24 07:05 posthog-bot

This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.

posthog-bot avatar Jun 07 '24 07:06 posthog-bot