mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix grammar in MongoCommandCursor::timeout() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335346 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a9502d1ec1
commit
4688808f52
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@
|
|||
<para>
|
||||
In the following example, the driver will wait for 60 seconds for the
|
||||
first response from the aggregate command. It will also wait for 60
|
||||
seconds, each time the server needs to be polled for more information.
|
||||
seconds each time the server needs to be polled for more information.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
@ -92,8 +92,8 @@ foreach ( $cursor as $result )
|
|||
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 command, consider
|
||||
passing the <literal>maxTimeMS</literal> as an option to
|
||||
If you need to specify a server-side timeout for a command, considering
|
||||
passing the <literal>maxTimeMS</literal> option to
|
||||
<methodname>MongoCollection::aggregateCursor</methodname>.
|
||||
</para>
|
||||
</warning>
|
||||
|
|
Loading…
Reference in a new issue