-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native Promise slow((( #1512
Comments
Callbacks are supported, so you can use Bluebird’s |
This appears to be no longer the case. Is there a way to pass a custom Promise implementation to node-postgres? The stack trace for async/ await indeed sucks. |
@gajus I’m not sure what you mean; nothing’s changed here. |
I don't see an option to pass Promise constructor to Pool constructor. |
@masksnytko do you have benchmarks which shows how much native slower compare to bluebird in current package? |
node-postgres/lib/client.js
Line 377 in 9870c86
I recommend using bluebirdjs
const Promise = require("bluebird");
The text was updated successfully, but these errors were encountered: