mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Refer to MongoCursor::maxTimeMS() from timeout() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334482 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b6654cdfa5
commit
a3e949b1ea
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ while ($cursor->hasNext()) {
|
|||
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>
|
||||
|
|
Loading…
Reference in a new issue