Skip to content

Commit

Permalink
RR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
norareidy committed Aug 1, 2024
1 parent a98618e commit c725ff3
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions source/faq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,11 @@ during a load spike than it is to complete every operation.
When ``MongoClient.close()`` is called by any request, the driver
closes all idle sockets and closes all sockets that are in
use as they are returned to the pool. Calling ``MongoClient.close()``
closes only inactive sockets, so you cannot interrupt or terminate
any ongoing operations by using this method. The driver closes these
sockets only when the process completes.

.. note::

The ``MongoClient.close()`` method closes existing sessions and
transactions, which might indirectly affect the behavior of ongoing
operations and open cursors.
closes only inactive sockets and does not actively terminate
any ongoing operations. The driver closes in-use sockets only when
the operation completes. However, the ``MongoClient.close()`` method
does close existing sessions and transactions, which might indirectly
affect the behavior of ongoing operations and open cursors.

What Is the Difference Between "connectTimeoutMS", "socketTimeoutMS" and "maxTimeMS"?
-------------------------------------------------------------------------------------
Expand Down

0 comments on commit c725ff3

Please sign in to comment.