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.

関連キーワード:  timeout, activity, Set, setTimeout, setStatusCallback, setWarningCallback, public, int, Sets, パラメータ