svn: /phpdoc/en/trunk/reference/mongo/mongocursor/ timeout.xml

From: Date: Mon, 04 Aug 2014 21:17:50 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/mongocursor/ timeout.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12701@lists.php.net to get a copy of this message
jmikola Mon, 04 Aug 2014 21:17:50 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=334482 Log: Refer to MongoCursor::maxTimeMS() from timeout() docs Changed paths: U phpdoc/en/trunk/reference/mongo/mongocursor/timeout.xml Modified: phpdoc/en/trunk/reference/mongo/mongocursor/timeout.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongocursor/timeout.xml 2014-08-04 21:16:57 UTC (rev 334481) +++ phpdoc/en/trunk/reference/mongo/mongocursor/timeout.xml 2014-08-04 21:17:50 UTC (rev 334482) @@ -97,6 +97,8 @@ This does not cause the MongoDB server to cancel long-running operations; it only instructs the driver to stop waiting for a response and throw a <classname>MongoCursorTimeoutException</classname> after a set time. + If you need to specify a server-side timeout for a query, consider using + <methodname>MongoCursor::maxTimeMS</methodname>. </para> </warning> </refsect1>

« previous php.doc.cvs (#12701) next »