voxpelli / node-pg-pubsub

A Publish/Subscribe implementation on top of PostgreSQL NOTIFY/LISTEN

Home Page:https://www.npmjs.com/package/pg-pubsub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't seem to work with Node 14

bostrom opened this issue · comments

We've been using node-pg-pubsub in our project for quite some time. In an upgrade from Node 10 to Node 14 it stopped working. More specifically we stopped seeing the Successful retry attempt for pubsub notices in the server log and no published messages were picked up.

Downgrading to Node 12 made it work again, and we left it like that with no further debugging.

Just wanted to let you know that there seems to be some issues with Node 14.

Huh, weird.

The loss of Successful retry attempt for pubsub is expected, the default logger no longer logs anything in production (though you can supply a custom logger which does)

Which version are you running?

Ah, how stupid of me. We have 0.5.0 so far from the latest version. Sorry about that, will try with the latest and see if that resolves the problem.

Ok, so as far as I can see version 0.6.1 works with Node 14, so closing this. Sorry about the noise.

No worries @bostrom! Great that it works now 👍