PHP - Manual: GearmanWorker::timeout
2024-11-13
(PECL gearman >= 0.6.0)
GearmanWorker::timeout — Get socket I/O activity timeout
Returns the current time to wait, in milliseconds, for socket I/O activity.
此函数没有参数。
A time period is milliseconds. A negative value indicates an infinite timeout.
官方地址:https://www.php.net/manual/en/gearmanworker.timeout.php