From 3d5fdde1101caedd020bd213e3bed35915b0d741 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Mon, 21 Apr 2014 18:13:45 +0000 Subject: [PATCH] Document real default value and link to the mongoclient ctor git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333384 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongocursor/timeout.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/mongo/mongocursor/timeout.xml b/reference/mongo/mongocursor/timeout.xml index d6f6a98b85..54b4abe025 100644 --- a/reference/mongo/mongocursor/timeout.xml +++ b/reference/mongo/mongocursor/timeout.xml @@ -30,7 +30,7 @@ The number of milliseconds for the cursor to wait for a response. Use -1 to wait forever. By default, the cursor will wait - MongoCursor::$timeout milliseconds. + 30000 milliseconds (3 seconds). @@ -101,6 +101,13 @@ while ($cursor->hasNext()) { + + &reftitle.seealso; + + The socketTimeoutMS option for MongoClient::__construct + + +