Php/docs/gearmanworker.timeout
From Get docs
GearmanWorker::timeout
(PECL gearman >= 0.6.0)
GearmanWorker::timeout — Get socket I/O activity timeout
Description
public GearmanWorker::timeout ( ) : int
Returns the current time to wait, in milliseconds, for socket I/O activity.
Parameters
This function has no parameters.
Return Values
A time period is milliseconds. A negative value indicates an infinite timeout.