Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<GearmanClient::setStatusCallbackGearmanClient::setWarningCallback>
^GearmanClientLast updated: Mon, 26 Oct 2026

GearmanClient::setTimeout

(PECL gearman >= 0.6.0)

GearmanClient::setTimeout — Set socket I/O activity timeout

Description

public function GearmanClient::setTimeout(int $timeout): bool

Sets the timeout for socket I/O activity.

Parameters

timeout

An interval of time in milliseconds

Return Values

Always returns true.


<GearmanClient::setStatusCallbackGearmanClient::setWarningCallback>
^GearmanClientLast updated: Mon, 26 Oct 2026