File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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
4747To 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
5962How Can I Prevent the Driver From Hanging During Connection or From Spending Too Long Trying to Reach Unreachable Replica Sets?
6063-------------------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments