We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08a248d commit f3181fbCopy full SHA for f3181fb
source/reference/parameters.txt
@@ -531,6 +531,13 @@ General Parameters
531
532
db.adminCommand( { setParameter: 1, cursorTimeoutMillis: 300000 } )
533
534
+ Setting :parameter:`cursorTimeoutMillis` to less than or equal
535
+ to ``0`` results in all cursors being immediately eligible for timeout.
536
+ Generally, the timeout value should be greater than the average amount of
537
+ time for a query to return results. Use tools like the :method:`cursor.explain()`
538
+ cursor modifier to analyze the average query time and select an appropriate
539
+ timeout period.
540
+
541
.. parameter:: failIndexKeyTooLong
542
543
.. versionadded:: 2.6
0 commit comments