GearmanWorker
PHP Manual

GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeoutGet socket I/O activity timeout

Descrição

public int GearmanWorker::timeout ( void )

Returns the current time to wait, in milliseconds, for socket I/O activity.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

A time period is milliseconds. A negative value indicates an infinite timeout.

Veja Também


GearmanWorker
PHP Manual