Will {timeout: false} work even on 10M+ record cursor?

Will setting {timeout: false} work even on 10M+ record cursor?

Or is there any way to use var myCursor = db.users.find().noCursorTimeout()

I’m trying to solve the same thing as this guy:

There’s also maxTimeMS: var cursor = rawCollection.find({}).maxTimeMS(5000);

But can I really set maxTimeMS to be like two days? The processing I need to do on each record takes forever.

One part of the processing is removing duplicates so I can’t really use batch processing unless I can check each value in a batch against each other batch value (to make sure no duplicates) AND against the current collection in the DB… so the resulting collection has no duplicate data.