不要怂,就是干,撸起袖子干!

Commit 30f07749 by Amjad Masad Committed by Sushant

feat: postgres connection option 'statement_timeout' (#8342)

1 parent fcac021f
Showing with 3 additions and 1 deletions
...@@ -77,7 +77,9 @@ class ConnectionManager extends AbstractConnectionManager { ...@@ -77,7 +77,9 @@ class ConnectionManager extends AbstractConnectionManager {
'binary', 'binary',
// This should help with backends incorrectly considering idle clients to be dead and prematurely disconnecting them. // This should help with backends incorrectly considering idle clients to be dead and prematurely disconnecting them.
// this feature has been added in pg module v6.0.0, check pg/CHANGELOG.md // this feature has been added in pg module v6.0.0, check pg/CHANGELOG.md
'keepAlive' 'keepAlive',
// Times out queries after a set time in milliseconds. Added in pg v7.3
'statement_timeout'
])); ]));
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!