NoCursorTimeout Parameter (Connect-MongoDB Cmdlet)
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Set this option to prevent that.
Syntax
Connect-MongoDB -NoCursorTimeout SwitchParameter
Data Type
bool
Default Value
false
Remarks
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Set this option to prevent that.