Add support for per query timeouts
yoitsro opened this issue · 2 comments
yoitsro commented
MongoDB 2.6 now supports per query timeouts. Simply append .maxTimeMS(1000)
to the query to take advantage of it.
See http://mongodb.github.io/node-mongodb-native/driver-articles/anintroductionto1_4_and_2_6.html#maxtimems for more details.
aheckmann commented
nice. open a PR!
yoitsro commented
On it :)