@@ -47,8 +47,10 @@ timeoutMS
47
47
~~~~~~~~~
48
48
49
49
This 64-bit integer option specifies the per-operation timeout value in
50
- milliseconds. The default value is unset. Both unset and an explicit value of
51
- 0 mean infinite, though some client-side timeouts like
50
+ milliseconds. The default value is unset which means this feature is not
51
+ enabled, i.e. the existing timeout behavior is unchanged (including
52
+ ``serverSelectionTimeoutMS ``, ``connectTimeoutMS ``, ``socketTimeoutMS `` etc..).
53
+ An explicit value of 0 means infinite, though some client-side timeouts like
52
54
``serverSelectionTimeoutMS `` will still apply. Drivers MUST error if a
53
55
negative value is specified. This value MUST be configurable at the level of
54
56
a MongoClient, MongoDatabase, MongoCollection, or of a single operation.
@@ -347,7 +349,7 @@ Retryability
347
349
~~~~~~~~~~~~
348
350
349
351
If an operation requires a retry per the retryable reads or writes
350
- specifications and ``timeoutMS `` is set to a non-zero value , drivers MUST
352
+ specifications and ``timeoutMS `` is set, drivers MUST
351
353
retry operations as many times as possible before the timeout expires or a
352
354
retry attempt returns a non-retryable error. Once the timeout expires, a
353
355
timeout error MUST be raised.
0 commit comments