GearmanWorker::timeout
(PECL gearman >= 0.6.0)
GearmanWorker::timeout — Get socket I/O activity timeout
Description
Returns the current time to wait, in milliseconds, for socket I/O activity.
Parameters
This function has no parameters.
Return Values
A time period in milliseconds. A negative value indicates an infinite timeout.
See Also
- GearmanWorker::setTimeout() - Set socket I/O activity timeout
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
