-
-
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 driver ignores statement_timeout #2103
Comments
This might be a pretty easy fix if you're interested in doing a PR. Otherwise I'll get to it soon-ish but I've got a bunch of other stuff in the pipeline too. 🙏 |
Switching to the JavaScript driver now throws:
|
@gajus Could the |
Re:
This is expected from pgbouncer, because The issue here is pgbouncer ignores startup parameter once added to The fix should still work when working against DB server. |
@shayonj Thanks. I appreciate the explanation. I use slonik which uses |
Passing
statement_timeout
to node-postgres when usingpg-native
has no effect on thestatement_timeout
configuration.The text was updated successfully, but these errors were encountered: