GearmanWorker::setTimeout
GearmanWorker::setTimeout
(PECL gearman >= 0.6.0)
GearmanWorker::setTimeout — Set socket I/O activity timeout
Description
public bool GearmanWorker::setTimeout ( int $timeout )
Sets the interval of time to wait for socket I/O activity.
Parameters
-
timeout
-
An interval of time in milliseconds. A negative value indicates an infinite timeout.