@@ -120,7 +120,8 @@ Timeouts
120
120
| **Connection URI Example**: ``connectTimeoutMS=10000``
121
121
122
122
* - **:socket_timeout**
123
- - | The number of seconds to wait for an operation to execute on
123
+ - | *Deprecated as of v2.21: Use ``timeout_ms`` instead*
124
+ | The number of seconds to wait for an operation to execute on
124
125
a socket before raising an exception.
125
126
|
126
127
| ``nil`` and ``0`` mean no timeout. Client creation will fail
@@ -132,8 +133,22 @@ Timeouts
132
133
| **Client Example**: ``socket_timeout: 5.0``
133
134
| **Connection URI Example**: ``socketTimeoutMS=5000``
134
135
136
+ * - **:timeout_ms**
137
+ - | The number of milliseconds to wait for an operation to execute
138
+ before raising an exception.
139
+ |
140
+ | ``0`` means no timeout. Client creation will fail
141
+ with an error if an invalid timeout value is passed
142
+ (such as a negative value or a non-numeric value).
143
+ |
144
+ | **Data Type**: ``Integer``
145
+ | **Default**: none
146
+ | **Client Example**: ``timeout_ms: 5000``
147
+ | **Connection URI Example**: ``timeoutMS=5000``
148
+
135
149
* - **:wait_queue_timeout**
136
- - | The number of seconds to wait for a connection in the
150
+ - | *Deprecated as of v2.21: Use ``timeout_ms`` instead*
151
+ The number of seconds to wait for a connection in the
137
152
connection pool to become available.
138
153
|
139
154
| **Data Type**: ``Float``
0 commit comments