php8.5
Home/ Manual/ gearman / gearmanworker/ GearmanWorker::timeout

GearmanWorker::timeout

PHP function Edit on GitHub ✎

(PECL gearman >= 0.6.0)

Get socket I/O activity timeout

Description

GearmanWorker::timeout(): int

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

Parameters Parameters

Return Values

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

See Also

  • GearmanWorker::setTimeout

Source: reference/gearman/gearmanworker/timeout.xml · from the official PHP manual (php/doc-en)