Skip to content

Commit 7077e07

Browse files
DOCS-14237 max time ms note (#181)
* removed maxTimeMS in MongoClientSettings
1 parent b15273c commit 7077e07

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/faq.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,19 @@ What Is the Difference Between "connectTimeoutMS", "socketTimeoutMS" and "maxTim
4545
specified time limit, it returns a timeout error.
4646

4747
To specify the optional settings for your ``MongoClient``, declare one or
48-
more of them in the ``options`` object of the constructor as follows:
48+
more available settings in the ``options`` object of the constructor as
49+
follows:
4950

5051
.. code-block:: javascript
5152

5253
const client = new MongoClient(uri, {
5354
connectTimeoutMS: <integer value>,
54-
socketTimeoutMS: <integer value>,
55-
maxTimeMS: <integer value>,
55+
socketTimeoutMS: <integer value>
5656
});
5757

58+
To see all the available settings, see the
59+
:node-api-4.0:`MongoClientOptions </interfaces/mongoclientoptions.html>`
60+
API Documentation.
5861

5962
How Can I Prevent the Driver From Hanging During Connection or From Spending Too Long Trying to Reach Unreachable Replica Sets?
6063
-------------------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)