GearmanClient::timeout

(PECL gearman >= 0.6.0)

GearmanClient::timeoutGet current socket I/O activity timeout value

Description

public GearmanClient::timeout(): int

Returns the timeout in milliseconds to wait for I/O activity.

Parameters

This function has no parameters.

Return Values

Timeout in milliseconds to wait for I/O activity. A negative value means an infinite timeout.

See Also