Php/docs/gearmanclient.timeout

来自菜鸟教程
跳转至:导航、​搜索

GearmanClient::timeout

(PECL gearman >= 0.6.0)

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


说明

public GearmanClient::timeout ( ) : int

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


参数

此函数没有参数。


返回值

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


参见