Skip to content

Commit 23c1276

Browse files
committed
dont use forking
1 parent 77d9672 commit 23c1276

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Illuminate/Queue/Worker.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ protected function daemonShouldRun()
113113
*/
114114
protected function runNextJobForDaemon($connectionName, $queue, WorkerOptions $options)
115115
{
116+
return $this->runNextJob($connectionName, $queue, $options);
117+
118+
// Removing forking for now because it doesn't work with SQS...
116119
if (! $options->timeout) {
117120
$this->runNextJob($connectionName, $queue, $options);
118121
} elseif ($processId = pcntl_fork()) {

0 commit comments

Comments
 (0)