node-postgres
node-postgres copied to clipboard
pg-connection-string: Shouldn't idleTimeoutMillis be considered? For pool usage patterns?
https://github.com/brianc/node-postgres/blob/master/packages/pg-connection-string/index.js
👆 The code here is not setting anything with respect to idleTimeoutMillis. Other parameters such as user, password, ssl, etc are set.
Therefore when using connection string usage - what is the actual design? Should the developer pass the connectionString and idleTmeoutMillis together for pool configurations? Or should the developer set in the connectionString itself.
I don't see anything relating to idleTimeoutMillis here either: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS
Please advice.