GearmanWorker
PHP Manual

GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeoutGet socket I/O activity timeout

설명

public int GearmanWorker::timeout ( void )

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

인수

이 함수는 인수가 없습니다.

반환값

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

참고


GearmanWorker
PHP Manual