From e2965ee2aa63077928020f8c4f08a1714bc6a999 Mon Sep 17 00:00:00 2001 From: halaei Date: Sat, 10 Dec 2016 16:21:27 +0330 Subject: [PATCH] dont report exception inside signal handler --- src/Illuminate/Queue/Worker.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Illuminate/Queue/Worker.php b/src/Illuminate/Queue/Worker.php index 2c56a1180e37..c0c1df1e79cd 100644 --- a/src/Illuminate/Queue/Worker.php +++ b/src/Illuminate/Queue/Worker.php @@ -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); });