PostHog/plugin-server

Graphile queue PG pool being ended multiple times

Twixes opened this issue · 5 comments

Looks like due to some weird condition the PG pool for the Graphile queue is being ended multiple times, resulting in weird errors.

Sentry issue: NETDATA-9C

Sentry issue: NETDATA-98

Reasonably sure I've narrowed this down to this line:

pauseQueueIfWorkerFull(() => server.jobQueueManager.pauseConsumer(), server, piscina)

Voided promises once again :D

The linked issues haven't happened for the last 30 days, and I can't see something like this on Cloud. Maybe things are alright?

Yeah - also my hunch from above probably isn't correct tbf