GearmanClient
PHP Manual

GearmanClient::setTimeout

(PECL gearman >= 0.6.0)

GearmanClient::setTimeoutSet socket I/O activity timeout

Opis

public bool GearmanClient::setTimeout ( int $timeout )

Sets the timeout for socket I/O activity.

Parametry

timeout

An interval of time in milliseconds

Zwracane wartoĊ›ci

Always returns TRUE.


GearmanClient
PHP Manual