Skip to content

Commit

Permalink
DOCSP-40094: Clarify MongoClient.close() behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
norareidy committed Aug 1, 2024
1 parent cae814d commit a98618e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/faq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ 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.

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

Expand Down

0 comments on commit a98618e

Please sign in to comment.