mongoosejs/mquery

Add support for per query timeouts

yoitsro opened this issue · 2 comments

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.

nice. open a PR!

On it :)