Allow to set default maxTimeMS for all cursors
By default, a cursor has no maxTimeMS.
We want to be able to set the default maxTimeMS so all cursors have it set. The current Java driver does not allow to set that default and each cursor needs it manually specified. I.e. a cursor factory or default options would be great.
Alternatively, it would also be great to have this as an option on the cluster itself.
15
votes
Sebastian
shared this idea
-
Jean-Christophe commented
In our case, the same behaviour would also be desirable on the reactive java driver and the python driver.