Skip to content

Commit 8c20b7d

Browse files
committed
formatting
1 parent 85e1573 commit 8c20b7d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Illuminate/Queue/Worker.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ protected function registerTimeoutHandler($job, WorkerOptions $options)
139139
$this->kill(1);
140140
});
141141

142-
// We need to set this everytime, because if we have a job with
143-
// no timeout we need to clean the alarm of previous job.
144142
$timeout = $this->timeoutForJob($job, $options);
145143

146144
pcntl_alarm($timeout > 0 ? $timeout + $options->sleep : 0);

0 commit comments

Comments
 (0)