Skip to content

Commit

Permalink
Merge pull request #16738 from halaei/dont-report-in-signal-handler
Browse files Browse the repository at this point in the history
dont report exception inside signal handler
  • Loading branch information
taylorotwell authored Dec 10, 2016
2 parents 0354fe4 + e2965ee commit afccec3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Illuminate/Queue/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ protected function registerTimeoutHandler(WorkerOptions $options)
pcntl_async_signals(true);

pcntl_signal(SIGALRM, function () {
$this->exceptions->report(new TimeoutException('A queue worker timed out while processing a job.'));

exit(1);
});

Expand Down

0 comments on commit afccec3

Please sign in to comment.