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
Copy file name to clipboardExpand all lines: lib/dialects/postgres/connection-manager.js
+3-1Lines changed: 3 additions & 1 deletion
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
+
// Times out queries after a set time in milliseconds in the database end. Added in pg v7.3
117
117
'statement_timeout',
118
+
// Times out queries after a set time in milliseconds in client end, query would be still running in database end.
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