From ddbcf94af1bf20d7a8031e6044e2182c485e217d Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Mon, 18 Dec 2017 14:17:48 +0100 Subject: [PATCH] Update AsyncJob.php --- src/Jobs/AsyncJob.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/Jobs/AsyncJob.php b/src/Jobs/AsyncJob.php index 5804a99..62bfb2a 100644 --- a/src/Jobs/AsyncJob.php +++ b/src/Jobs/AsyncJob.php @@ -69,27 +69,6 @@ public function getRawBody() return $this->job->payload; } - /** - * Release the job back into the queue. - * - * @param int $delay - * @return void - */ - public function release($delay = 0) - { - // Update the Job status - $this->job->status = Job::STATUS_OPEN; - $this->job->save(); - - // Wait for the delay - if ($delay) { - sleep($this->getSeconds($delay)); - } - - // Fire again - $this->fire(); - } - /** * Get the number of times the job has been attempted. *