kmongo / org.litote.kmongo.coroutine / CoroutineFindPublisher / noCursorTimeout

noCursorTimeout

fun noCursorTimeout(noCursorTimeout: Boolean): CoroutineFindPublisher<T> (source)

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

Parameters

noCursorTimeout - true if cursor timeout is disabled

Return
this