pg-listen
pg-listen copied to clipboard
📡 PostgreSQL LISTEN & NOTIFY for node.js that finally works.
In response to issue #55. Mentioned peer-dependency of pg and alternative installation procedure if no pg peer-dependency is present.
I'm implementing a worker process with the following requirements: - The notification listener should retry reconnecting indefinitely. (Infinite retry attempts, no timeout) - The worker process should respond to `SIGINT`...
https://github.com/andywer/pg-listen/blob/7dec032409ba2e77286d15e20d4b98c8af994a21/src/index.ts#L302-L306 Is there any reason why `connect()` is returning undefined not `dbClient`? Just wondering because I need to query db also and it doesn't make sense to create another connection...
While setting up an empty project with pg-listen to do some testing I ran into an issue. After installing pg listen via `npm i pg-listen` and starting a script with...
It seems like there is no retry on first connection, IMHO it's a common use-case, especially when multiple services are started in parallel
This module has very little tests or no tests at all for some scenarios. There is need for movement from "production tested" to improved test system. I think that this...
Bumps [json5](https://github.com/json5/json5) from 2.1.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) to 21.1.1 and updates ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Updates `yargs-parser` from 10.1.0 to 21.1.1 Release notes Sourced from yargs-parser's releases. yargs-parser: v21.1.1...
Removes [trim-newlines](https://github.com/sindresorhus/trim-newlines). It's no longer used after updating ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Removes `trim-newlines` Updates `ava` from 1.4.1 to 5.1.0 Release notes Sourced from...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) to 5.1.2 and updates ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Updates `glob-parent` from 3.1.0 to 5.1.2 Release notes Sourced from glob-parent's releases. v5.1.2 Bug...