(PECL gearman >= 0.6.0)
GearmanWorker::timeout — Get socket I/O activity timeout
public GearmanWorker::timeout ( ) : int
Returns the current time to wait, in milliseconds, for socket I/O activity.
This function has no parameters.
A time period is milliseconds. A negative value indicates an infinite timeout.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanworker.timeout.php