Comments (6)
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.
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.
@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.
ah fabulous, can't wait ๐ ๐
from node-pg-pool.
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.
Generic pool has been removed as a dependency. in [email protected]
from node-pg-pool.
Related Issues (20)
- Is a pool gracefully closing db connections when node.js exits? HOT 2
- Is there an event triggered when the pool is being drained? HOT 1
- Problems with config.min HOT 2
- High latency after 10 queries HOT 4
- Want to create connection fail over for multiple endpoint in node-pg-pool
- Support async_hooks HOT 1
- Is there a compelling reason to throw an exception when re-releasing a client? HOT 1
- Connection terminated due to connection timeout / Connection terminated HOT 16
- Is there a difference between pool.query() VS connect(), query(), release() HOT 2
- node-postgres already has connection pooling built in... HOT 1
- release should reset state of connection HOT 1
- Emit 'release' event and add 'activeCount' gettable property to pool HOT 1
- Exception thrown in _remove
- ๅญๆฎต็ฑปๅint8 HOT 1
- pool.end() needs to process pending queries HOT 1
- pool.end() resolves before the last pool.query()
- min connections support HOT 5
- pool.on('error') Documentation Inaccurate
- Cloud Functions: Query timeout with max = 1 HOT 5
- Ambiguous connection timeout parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-pg-pool.