File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
source/connection/specify-connection-options Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -111,13 +111,13 @@ parameters of the connection URI to specify the behavior of the client.
111
111
of an operation. This option sets a client-level operations
112
112
timeout that replaces the functionality of the following
113
113
deprecated options:
114
- |
115
- | - ``waitQueueTimeoutMS``
116
- - ``socketTimeoutMS``
117
- - ``wTimeoutMS``
118
- - ``maxTimeMS``
119
- - ``maxCommitTimeMS``
120
- |
114
+
115
+ - ``waitQueueTimeoutMS``
116
+ - ``socketTimeoutMS``
117
+ - ``wTimeoutMS``
118
+ - ``maxTimeMS``
119
+ - ``maxCommitTimeMS``
120
+
121
121
| To learn more, see the :ref:`java-csot` guide.
122
122
123
123
* - **connectTimeoutMS**
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ accepted values for ``timeoutMS``:
87
87
* - ``0``
88
88
- Sets an infinite timeout.
89
89
90
- * - ``null``
90
+ * - ``null`` or unset
91
91
- | Defers the timeout behavior to the following settings:
92
- |
93
- | - :manual:`waitQueueTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.waitQueueTimeoutMS>`
94
- - :manual:`socketTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.socketTimeoutMS>`
95
- - :manual:`wTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.wtimeoutMS>`
96
- - :manual:`maxTimeMS </reference/method/cursor.maxTimeMS/>`
97
- - `maxCommitTimeMS <{+core-api+}/com/mongodb/TransactionOptions.Builder.html#maxCommitTime(java.lang.Long,java.util.concurrent.TimeUnit)>`__
98
- |
92
+
93
+ - :manual:`waitQueueTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.waitQueueTimeoutMS>`
94
+ - :manual:`socketTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.socketTimeoutMS>`
95
+ - :manual:`wTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.wtimeoutMS>`
96
+ - :manual:`maxTimeMS </reference/method/cursor.maxTimeMS/>`
97
+ - `maxCommitTimeMS <{+core-api+}/com/mongodb/TransactionOptions.Builder.html#maxCommitTime(java.lang.Long,java.util.concurrent.TimeUnit)>`__
98
+
99
99
| These settings are deprecated and are ignored if you set ``timeoutMS``.
100
100
101
101
If you specify the ``timeoutMS`` option, the driver automatically applies the
You can’t perform that action at this time.
0 commit comments