The MongoCursorTimeoutException class

(PECL mongo >= 1.0.0)

Введение

Caused by a query timing out. You can set the length of time to wait before this exception is thrown by calling MongoCursor::timeout() on the cursor or setting MongoCursor::$timeout. The static variable is useful for queries such as database commands and MongoCollection::findOne(), both of which implicitly use cursors.

Обзор классов

MongoCursorTimeoutException extends MongoCursorException {
}

Коментарии

Автор:
If you wish to turn off timeouts, do...

MongoCursor::$timeout = -1;
2012-08-27 01:39:55
http://php5.kiev.ua/manual/ru/class.mongocursortimeoutexception.html

    Поддержать сайт на родительском проекте КГБ