There was an error while loading. Please reload this page.
1 parent b76b726 commit 4ca02d9Copy full SHA for 4ca02d9
docs/articles/AnIntroductionTo1_4_and_2_6.md
@@ -54,7 +54,7 @@ One feature that has requested often is the ability to timeout individual querie
54
MongoClient.connect("mongodb://localhost:27017/test", function(err, db) {
55
// Get an aggregation cursor
56
var cursor = db.collection('data')
57
-.find("$where": "sleep(100) || true")
+.find("$where": "sleep(1000) || true")
58
.maxTimeMS(50);
59
60
// Get alll the items
0 commit comments