Skip to content

Commit

Permalink
dont use forking
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 28, 2016
1 parent 77d9672 commit 23c1276
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Illuminate/Queue/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ protected function daemonShouldRun()
*/
protected function runNextJobForDaemon($connectionName, $queue, WorkerOptions $options)
{
return $this->runNextJob($connectionName, $queue, $options);

// Removing forking for now because it doesn't work with SQS...
if (! $options->timeout) {
$this->runNextJob($connectionName, $queue, $options);
} elseif ($processId = pcntl_fork()) {
Expand Down

0 comments on commit 23c1276

Please sign in to comment.