mongo-js/mongojs

Configure the socket timeout on a per-operation basis

wearhere opened this issue · 1 comments

Hi, it looks like it's possible to configure a global "operation timeout" using the socketTimeoutMS connection string parameter. (More information on the meaning of this parameter here.) Is it possible to configure this setting on a per-operation basis (like a timeout for specific find queries), though?

Ah it looks like you support maxTimeMS here. Thanks!