Skip to content

Commit

Permalink
Merge pull request #1557 from vladgolubev/patch-1
Browse files Browse the repository at this point in the history
docs(MongoClient): keepAlive is number not boolean
  • Loading branch information
daprahamian authored Nov 16, 2017
2 parents 62c7ed7 + 4c385ad commit f4e85c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function MongoClient() {
* @param {boolean} [options.autoReconnect=true] Enable autoReconnect for single server instances
* @param {boolean} [options.noDelay=true] TCP Connection no delay
* @param {number} [options.family=4] Version of IP stack. Defaults to 4.
* @param {boolean} [options.keepAlive=30000] The number of milliseconds to wait before initiating keepAlive on the TCP socket.
* @param {number} [options.keepAlive=30000] The number of milliseconds to wait before initiating keepAlive on the TCP socket.
* @param {number} [options.connectTimeoutMS=30000] TCP Connection timeout setting
* @param {number} [options.socketTimeoutMS=360000] TCP Socket timeout setting
* @param {number} [options.reconnectTries=30] Server attempt to reconnect #times
Expand Down

0 comments on commit f4e85c6

Please sign in to comment.