title: MongoDB Compass timeouts
body: <p>I'm using MongoDB Compass to perform an aggregation on a reasonably large dataset (~2,000,000 documents, 300MB) through an SSH tunnel.</p>
  
  <p>It connects fine and I can query but stages in my pipeline appear to timeout <code>operation exceeded time limit</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/ys2u3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ys2u3.png" alt="enter image description here"></a></p>
  
  <p>I know via the command line you can set the max time in milliseconds for a query using <a href="https://docs.mongodb.com/manual/reference/operator/meta/maxTimeMS/" rel="noreferrer">maxTimeMs</a> <code>$maxTimeMS</code> but is it possible to apply this in MongoDB Compass?</p>
  
  <p>I have also looked for connection timeout settings and can't find anything related to that in the GUI.</p>