Git Product home page Git Product logo

Comments (6)

brianc avatar brianc commented on June 4, 2024

Most definitely!

On Sunday, September 18, 2016, James Butler [email protected]
wrote:

It's still not quite finished, but the API changes are all done and
pending any critical bugs should be final.
The big change is the move over to using promises instead of callbacks
(except for the "pooled" function which I still haven't quite worked out
yet)
Minor changes include renaming/removing some config options and
constructor args.

Before I get started on the PR for this, I just wanted to check that your
ok with doing this.

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#29, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADDoRmsCpKmNXlPQ7w2wxlQ3d2WiZeHks5qrQ8QgaJpZM4J_3P8
.

from node-pg-pool.

abenhamdine avatar abenhamdine commented on June 4, 2024

Is the v3 to support acquire time out ?
If I'm correct, this feature is needed to allow to have an error in case of time out with pg.connect.

from node-pg-pool.

sandfox avatar sandfox commented on June 4, 2024

@abenhamdine yep, the acquire call timeout support (and ability to more easily add timeouts for other operations) is in the v3 branch. It also isolates factory errors from acquire calls so the two are no longer linked/locked 1:1.

from node-pg-pool.

abenhamdine avatar abenhamdine commented on June 4, 2024

ah fabulous, can't wait ๐Ÿ’ƒ ๐Ÿ˜„

from node-pg-pool.

sandfox avatar sandfox commented on June 4, 2024

ok, finally published the new version after some serious detours. (and already have bugs to deal with!)
@brianc - whats the baseline version of nodejs pg-pool is designed to work with? At the moment, generic-pool v3 requires node v4 because it uses Promises, Sets, Maps and some other es6-isms. With some work it's probably possible to make some version of generic pool (or a module that wraps it) that could shim out those requirements with some < node 4 compatible equivalents.

Thoughts?

from node-pg-pool.

brianc avatar brianc commented on June 4, 2024

Generic pool has been removed as a dependency. in [email protected]

from node-pg-pool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.