mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
[pg] Add connectionTimeoutMillis and keepAliveInitialDelayMillis options to ConnectionConfig (#37635)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
bafd802370
commit
89e4834fc3
Vendored
+3
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for pg 7.4
|
||||
// Type definitions for pg 7.11
|
||||
// Project: http://github.com/brianc/node-postgres
|
||||
// Definitions by: Phips Peter <https://github.com/pspeter3>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -19,6 +19,8 @@ export interface ConnectionConfig {
|
||||
keepAlive?: boolean;
|
||||
stream?: stream.Duplex;
|
||||
statement_timeout?: false | number;
|
||||
connectionTimeoutMillis?: number;
|
||||
keepAliveInitialDelayMillis?: number;
|
||||
}
|
||||
|
||||
export interface Defaults extends ConnectionConfig {
|
||||
|
||||
Reference in New Issue
Block a user