GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeoutGet socket I/O activity timeout

說(shuō)明

public GearmanWorker::timeout(): int

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

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

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

參見(jiàn)