Is it possible to set timeout for 1 query when using pg-pool?
As I see here it only check this.connectionParameters.query_timeout
https://github.com/brianc/node-postgres/blob/master/packages/pg/lib/client.js#L513
And if I use pool.query(...) I can't modify connectionParameters object only for 1 query
btw what is a meaning of if (typeof config.submit === 'function') (line 506)
Is it possible to set timeout for 1 query when using pg-pool?
As I see here it only check
this.connectionParameters.query_timeouthttps://github.com/brianc/node-postgres/blob/master/packages/pg/lib/client.js#L513
And if I use
pool.query(...)I can't modifyconnectionParametersobject only for 1 querybtw what is a meaning of
if (typeof config.submit === 'function')(line 506)