/** * Release the job back into the queue. * * @param int $delay * @return void */ public function release($delay = 0) { parent::release($delay); $this->delete(); $this->database->release($this->queue, $this->job, $delay); }
/** * Release a reserved job back onto the queue. * * @param string $queue * @param \StdClass $job * @param int $delay * @return mixed * @static */ public static function release($queue, $job, $delay) { return \Illuminate\Queue\DatabaseQueue::release($queue, $job, $delay); }