--
You received this message because you are subscribed to the Google Groups "ReactiveMongo - http://reactivemongo.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reactivemong...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The cursor.count is a MongoShell specificity. There count DB command hasn't the maxTimeMS option as far as I check ( https://docs.mongodb.org/manual/reference/command/count/#dbcmd.count ).
Either you have a RM cursor can you can compute the total count while folding/enumerating over (or collect as in-memory and count that), or you use the count operation on collection (which is directly based on the count command).
Best regards