Skip to content

Commit 89510d7

Browse files
authored
DOCSP-37518 - CSOT (#49)
1 parent abf5439 commit 89510d7

File tree

6 files changed

+248
-139
lines changed

6 files changed

+248
-139
lines changed

source/connect.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Connect to MongoDB
1313

1414
/connect/tls
1515
/connect/client-certificates
16+
/connect/csot
1617

1718
- :ref:`pymongo-tls`
18-
- :ref:`pymongo-client-certificates`
19+
- :ref:`pymongo-client-certificates`
20+
- :ref:`pymongo-csot`

source/connect/connection-options.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,26 @@ Network Compression
106106
| **MongoClient Example**: ``zlibCompressionLevel = 3``
107107
| **Connection URI Example**: ``zlibCompressionLevel=3``
108108

109+
Timeouts
110+
~~~~~~~~
111+
112+
.. list-table::
113+
:header-rows: 1
114+
:widths: 30 70
115+
116+
* - Connection Option
117+
- Description
118+
119+
* - **timeoutMS**
120+
- | The number of milliseconds each driver operation must complete within. If an
121+
| operation doesn't finish in the specified time, {+driver-short+} raises a timeout exception.
122+
| For more information, see :ref:`<pymongo-csot>`.
123+
|
124+
| **Data Type**: ``int``
125+
| **Default**: ``None``
126+
| **MongoClient Example**: ``timeoutMS = 10000``
127+
| **Connection URI Example**: ``timeoutMs=10000``
128+
109129
Server Selection
110130
~~~~~~~~~~~~~~~~
111131

0 commit comments

Comments
 (0)