mvolkmann / postgresql-easy

A Node package for interacting with a PostgreSQL database
MIT License
6 stars 1 forks source link

Is it possible to increase the timeout? #12

Open vmatacale opened 2 years ago

vmatacale commented 2 years ago

I have a long running query. It looks to me like the timeout is 2 minutes. Is there a way to increase that?

mvolkmann commented 2 years ago

I think you can do that in the config object you pass to PGConnection. See the comment here: https://github.com/mvolkmann/postgresql-easy/blob/5da7be06d85740cdcf8b074d7c8ea61396d94861/index.js#L18