GearmanClient::setTimeout

(PECL gearman >= 0.6.0)

GearmanClient::setTimeoutSet socket I/O activity timeout

˵��

public GearmanClient::setTimeout ( int $timeout ) : bool

Sets the timeout for socket I/O activity.

����

timeout

An interval of time in milliseconds

����ֵ

Always returns TRUE.