PHP 8.0.0 Beta 4 available for testing

The MongoExecutionTimeoutException class

(PECL mongo >= 1.5.0)


Thrown when a operation times out server side (i.e. in MongoDB).

To configure the operation timeout threshold, use MongoCursor::maxTimeMS() or the "maxTimeMS" command option.

Class synopsis

MongoExecutionTimeoutException extends MongoException {
/* Inherited properties */
protected string message ;
protected int code ;
protected string file ;
protected int line ;
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top