pcntl_alarm
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Set an alarm clock for delivery of a signal
pcntl_alarm
(
int $seconds
):
int
laravel/framework
$this
->
kill
(static::
EXIT_ERROR
);
});
pcntl_alarm
(
max
(
$this
->
timeoutForJob
(
$job
,
$options
),
0
)
);
}
src/Illuminate/Queue/Worker.php
laravel/framework
protected function
resetTimeoutHandler
()
{
pcntl_alarm
(
0
);
}
src/Illuminate/Queue/Worker.php