The MAX TIME MS query bar option sets the cumulative time limit in milliseconds to process query bar operations. If the time limit is reached before the operation completes, Atlas interrupts the operation.

The default MAX TIME MS value is 60000, or 60 seconds. Consider raising this value if you meet one of the following conditions:
You have a large collection.
Your operations frequently time out.
You query data archived from the Atlas cluster using Online Archive.
You can also consider creating indexes to improve query performance.
Set MAX TIME MS
In Atlas, go to the Data Explorer page for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Data Explorer under the Database heading.
The Data Explorer displays.
Note
You can also go to the Clusters page, and click Data Explorer under the Shortcuts heading.
Learn More
To learn more about MAX TIME MS, see cursor.maxTimeMS() in the MongoDB manual.