Skip to content

Commit a2c58ec

Browse files
committed
Be consistent about markup for '0' in poolPingInterval tables
1 parent 5f6af64 commit a2c58ec

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/api.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -770,11 +770,11 @@ implement appropriate statement execution error checking.
770770

771771
The default value is `60` seconds. Possible values for `poolPingInterval` are:
772772

773-
Value | Behavior of a Pool `getConnection()` call
774-
--------|------------------------------------------
775-
`n` < 0 | Never checks for connection aliveness
776-
`0` | Always checks for connection aliveness. There is some overhead in performing a ping so non-zero values are recommended for most applications
777-
`n` > 0 | Checks aliveness if the connection has been idle in the pool (not "checked out" to the application by `getConnection()`) for at least `n` seconds
773+
Value | Behavior of a Pool `getConnection()` call
774+
----------|------------------------------------------
775+
`n` < `0` | Never checks for connection aliveness
776+
`0` | Always checks for connection aliveness. There is some overhead in performing a ping so non-zero values are recommended for most applications
777+
`n` > `0` | Checks aliveness if the connection has been idle in the pool (not "checked out" to the application by `getConnection()`) for at least `n` seconds
778778

779779
This property may be overridden when [creating a connection pool](#createpool).
780780

@@ -2996,11 +2996,11 @@ during [pool creation](#createpool).
29962996
29972997
Possible values for `poolPingInterval` are:
29982998
2999-
Value | Behavior of a Pool `getConnection()` call
3000-
--------|------------------------------------------
3001-
`n` < 0 | Never checks for connection aliveness
3002-
`0` | Always checks for connection aliveness. There is some overhead in performing a ping so non-zero values are recommended for most applications
3003-
`n` > 0 | Checks aliveness if the connection has been idle in the pool (not "checked out" to the application by `getConnection()`) for at least `n` seconds
2999+
Value | Behavior of a Pool `getConnection()` call
3000+
----------|------------------------------------------
3001+
`n` < `0` | Never checks for connection aliveness
3002+
`0` | Always checks for connection aliveness. There is some overhead in performing a ping so non-zero values are recommended for most applications
3003+
`n` > `0` | Checks aliveness if the connection has been idle in the pool (not "checked out" to the application by `getConnection()`) for at least `n` seconds
30043004
30053005
### <a name="drcp"></a> 8.4 Database Resident Connection Pooling (DRCP)
30063006

0 commit comments

Comments
 (0)