public setTimeOut ( integer $timeout = 100 ) : kafka\Produce | ||
$timeout | integer | |
return | kafka\Produce |
public function setTimeOut($timeout = 100)
{
if ((int) $timeout) {
$this->timeout = (int) $timeout;
}
return $this;
}