voxpelli / node-pg-pubsub

A Publish/Subscribe implementation on top of PostgreSQL NOTIFY/LISTEN
https://www.npmjs.com/package/pg-pubsub
MIT License
236 stars 16 forks source link

A race condition can lead to multiple connections to the same channel #83

Closed abolognino closed 4 years ago

abolognino commented 4 years ago

restarting the database can lead to multiple connections and therefore multiple notifications for the same event.

voxpelli commented 4 years ago

Is this different from the problem outlined in #82?

abolognino commented 4 years ago

I didn't notice #82, this is probably a duplicate.