[DOCS-4220] Wrong maxTimeMS value on example Created: 21/Oct/14  Updated: 16/Mar/15  Resolved: 21/Oct/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.6
Fix Version/s: v1.3.13

Type: Task Priority: Trivial - P5
Reporter: Jussi Jaaskelainen Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 17 weeks, 1 day ago

 Description   

At "5.2. Administration Tutorials"

Sub-section: "Terminate Running Operations" - "Available Procedures"

You can add the maxTimeMS field to the command document to set a time limit of 30 milliseconds for the operation:
db.runCommand(

{ distinct: "collection", key: "city", maxTimeMS: 45 }

)

Command uses value of 45 and not 30



 Comments   
Comment by Githook User [ 21/Oct/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4220: fix value in example
Branch: master
https://github.com/mongodb/docs/commit/fb82f3ee1946fa256fa9d722cbadf59676a0348d

Generated at Thu Feb 08 07:47:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.