You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This option has existed in pg since v7.7 - see discussion at brianc/node-postgres#1760
Adding to properties to be passed to new connection config so it can be used with sequelize
Copy file name to clipboardExpand all lines: lib/dialects/postgres/connection-manager.js
+3-1
Original file line number
Diff line number
Diff line change
@@ -113,8 +113,10 @@ class ConnectionManager extends AbstractConnectionManager {
113
113
// This should help with backends incorrectly considering idle clients to be dead and prematurely disconnecting them.
114
114
// this feature has been added in pg module v6.0.0, check pg/CHANGELOG.md
115
115
'keepAlive',
116
-
// Times out queries after a set time in milliseconds. Added in pg v7.3
116
+
// DB statement timeout in milliseconds. Added in pg v7.3
117
117
'statement_timeout',
118
+
// Client side request timeout in milliseconds. Added in pg v7.7
119
+
'query_timeout'
118
120
// 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
0 commit comments