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