GearmanClient::setTimeout
GearmanClient::setTimeout
(PECL gearman >= 0.6.0)
GearmanClient::setTimeout — Set socket I/O activity timeout
Description
public bool GearmanClient::setTimeout ( int $timeout )
Sets the timeout for socket I/O activity.
Parameters
-
timeout
-
An interval of time in milliseconds
Return Values
Always returns TRUE
.
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/gearmanclient.settimeout.php