Skip to content

Commit 3e926f5

Browse files
committed
Correct TCP keepalive connection string docs
Closes #284
1 parent c93a347 commit 3e926f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conceptual/Npgsql/connection-string-parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Internal Command Timeout | The time to wait (in seconds) while trying to execute
5454
Cancellation Timeout | The time to wait (in milliseconds) while trying to read a response for a cancellation request for a timed out or cancelled query, before terminating the attempt and generating an error. -1 skips the wait, 0 means infinite wait. Introduced in 5.0. | 2000
5555
Keepalive | The number of seconds of connection inactivity before Npgsql sends a keepalive query. | 0 (disabled)
5656
Tcp Keepalive | Whether to use TCP keepalive with system defaults if overrides isn't specified. | false
57-
Tcp Keepalive Time | The number of milliseconds of connection inactivity before a TCP keepalive query is sent. Use of this option is discouraged, use KeepAlive instead if possible. Supported only on Windows. | 0 (disabled)
58-
Tcp Keepalive Interval | The interval, in milliseconds, between when successive keep-alive packets are sent if no acknowledgement is received. `Tcp KeepAlive Time` must be non-zero as well. Supported only on Windows. | value of `Tcp Keepalive Time`
57+
Tcp Keepalive Time | The number of seconds of connection inactivity before a TCP keepalive query is sent. Use of this option is discouraged, use KeepAlive instead if possible. | 0 (disabled)
58+
Tcp Keepalive Interval | The interval, in seconds, between when successive keep-alive packets are sent if no acknowledgement is received. `Tcp KeepAlive Time` must be non-zero as well. | value of `Tcp Keepalive Time`
5959

6060
## Performance
6161

0 commit comments

Comments
 (0)