GearmanWorker::timeout
PHP function
Edit on GitHub ✎
(PECL gearman >= 0.6.0)
Get socket I/O activity timeout
Description
GearmanWorker::timeout(): int
Returns the current time to wait, in milliseconds, for socket I/O activity.
Parameters Parameters
Return Values
A time period in milliseconds. A negative value indicates an infinite timeout.
See Also
GearmanWorker::setTimeout