Skip to content

Commit 3d7c6d8

Browse files
author
Corey Van Woert
committed
feat: add documentation for keepAlive and keepAliveIntiialDelayMillis in client config
1 parent c3c89d6 commit 3d7c6d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/api/2-client.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ config = {
2323
query_timeout?: number, // number of milliseconds before a query call will timeout, default is no timeout
2424
application_name?: string, // The name of the application that created this Client instance
2525
connectionTimeoutMillis?: number, // number of milliseconds to wait for connection, default is no timeout
26-
idle_in_transaction_session_timeout?: number // number of milliseconds before terminating any session with an open idle transaction, default is no timeout
26+
idle_in_transaction_session_timeout?: number, // number of milliseconds before terminating any session with an open idle transaction, default is no timeout
27+
keepAlive?: boolean, // enable keepAlive on the net.Socket, default is false
28+
keepAliveInitialDelayMillis?: number, // number of milliseconds between last data packet received and first keepalive probe, default to zero (keeps last value set),
2729
}
2830
```
2931

0 commit comments

Comments
 (0)