$maxTimeMS¶
- $maxTimeMS¶
Deprecated since version 3.2: The $maxTimeMS operator is deprecated. Use cursor.maxTimeMS() instead.
New in version 2.6: The $maxTimeMS operator specifies a cumulative time limit in milliseconds for processing operations on the cursor. MongoDB interrupts the operation at the earliest following interrupt point.
The mongo shell provides the cursor.maxTimeMS() method