Skip to content

Commit 21d7e70

Browse files
daprahamianmbroadst
authored andcommitted
docs(MongoClient): keepAliveInitialDelay should be a number
1 parent 8c964eb commit 21d7e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo_client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function validOptions(options) {
136136
* @param {boolean} [options.autoReconnect=true] Enable autoReconnect for single server instances
137137
* @param {boolean} [options.noDelay=true] TCP Connection no delay
138138
* @param {boolean} [options.keepAlive=true] TCP Connection keep alive enabled
139-
* @param {boolean} [options.keepAliveInitialDelay=30000] The number of milliseconds to wait before initiating keepAlive on the TCP socket
139+
* @param {number} [options.keepAliveInitialDelay=30000] The number of milliseconds to wait before initiating keepAlive on the TCP socket
140140
* @param {number} [options.connectTimeoutMS=30000] TCP Connection timeout setting
141141
* @param {number} [options.family=4] Version of IP stack. Defaults to 4
142142
* @param {number} [options.socketTimeoutMS=360000] TCP Socket timeout setting

0 commit comments

Comments
 (0)