GearmanClient::timeout

(PECL gearman >= 0.6.0)

GearmanClient::timeoutGet current socket I/O activity timeout value

Description

public GearmanClient::timeout ( ) : int

Returns the timeout in milliseconds to wait for I/O activity.

Parameters

This function has no parameters.

Return Values

Timeout in milliseconds to wait for I/O activity. A negative value means an infinite timeout.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanclient.timeout.php