Is there a way to configure timeouts for queries on `mongod`?


Is there a way to configure a maximum time for running queries on a MongoDB instance?

Hi @andresil

At the moment, the parameter is called maxTimeMS and it is configurable per-query/operation.

It is not currently possible to set this globally on a server yet, but SERVER-13775 is the ticket that tracks this feature request. Please feel free to comment/vote/watch the ticket for future updates on this.

Best regards


This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.