noCursorTimeout

fun noCursorTimeout(noCursorTimeout: Boolean): FindIterable<T>

The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Set this option to prevent that.

Return

this

Parameters

noCursorTimeout

true if cursor timeout is disabled