# GearmanClient::setTimeout

(PECL gearman >= 0.6.0)

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

### Beschreibung

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

Sets the timeout for socket I/O activity.

### Parameter-Liste

`timeout`

  An interval of time in milliseconds

### Rückgabewerte

Always returns `true`.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open