Skip to content

Commit

Permalink
feat(postgres): support connectionTimeoutMillis dialectOption (sequel…
Browse files Browse the repository at this point in the history
  • Loading branch information
mmfKupl authored Feb 11, 2024
1 parent a250058 commit e81200e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dialects/postgres/connection-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ class ConnectionManager extends AbstractConnectionManager {
'statement_timeout',
// Times out queries after a set time in milliseconds in client end, query would be still running in database end.
'query_timeout',
// Number of milliseconds to wait for connection, default is no timeout.
'connectionTimeoutMillis',
// Terminate any session with an open transaction that has been idle for longer than the specified duration in milliseconds. Added in pg v7.17.0 only supported in postgres >= 10
'idle_in_transaction_session_timeout',
// Maximum wait time for lock requests in milliseconds. Added in pg v8.8.0.
Expand Down

0 comments on commit e81200e

Please sign in to comment.