Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6ff4bbb

Browse files
authoredOct 16, 2020
Document idle_in_transaction_session_timeout
Simple documentation for the pass-through connection parameter added in node-postgres/pull/2049. The description is taken from https://www.postgresql.org/docs/current/runtime-config-client.html. Closes node-postgres/issues/2381
1 parent fbc004d commit 6ff4bbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎content/api/2-client.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ config = {
2222
statement_timeout?: number, // number of milliseconds before a statement in query will time out, default is no timeout
2323
query_timeout?: number, // number of milliseconds before a query call will timeout, default is no timeout
2424
connectionTimeoutMillis?: number, // number of milliseconds to wait for connection, default is no timeout
25+
idle_in_transaction_session_timeout?: number // number of milliseconds before terminating any session with an open idle connection, default is no timeout
2526
}
2627
```
2728

0 commit comments

Comments
 (0)
Please sign in to comment.